###########################
# Persia Focus Tree
# By Sepehr Bass and WordZero
###########################

focus_tree = {
	id = persia_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = PER
		}
	}
	default = no
	continuous_focus_position = { x = 1200 y = 1500 }

	focus = {
		id = PER_shah_is_dead_press_f
		icon = GFX_goal_generic_secret_weapon
		cost = 0

		x = 3
		y = 0

		available = {
			hidden_trigger = { always = no }
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_shah_is_dead_press_f"
			custom_effect_tooltip = unlock_focuses
		}
	}

	focus = {
		id = PER_long_live
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = -2
		y = 1

		mutually_exclusive = {
			focus = PER_long_live_revolution
		}
		available = {
			custom_override_tooltip = {
				tooltip = PER_monarchy_tt
				always = no
			}
		}
		ai_will_do = { factor = 20 }
		prerequisite = {
			focus = PER_shah_is_dead_press_f
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_long_live"
			add_political_power = 150
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_reinforced_consti
		icon = GFX_focus_rom_royal_dictatorship
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = -3
		y = 2

		mutually_exclusive = {
			focus = PER_wrath_of_the_lion
		}
		available = {
			has_democratic_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_long_live
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_reinforced_consti"
			swap_ideas = {
				remove_idea = PER_political_upheaval
				add_idea = PER_changing_bureaucracy
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_majis_coop
		icon = GFX_goal_generic_elections
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = -3
		y = 3

		available = {
			has_democratic_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_reinforced_consti
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_majis_coop"
			remove_ideas = PER_changing_bureaucracy
			add_political_power = 100
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_imperial_court_reforms
		icon = GFX_goal_constitutional_guarantees
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = -3
		y = 4

		available = {
			has_democratic_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_majis_coop
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_imperial_court_reforms"
			add_stability = 0.1
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_limited_aristocrats
		icon = GFX_focus_rom_parties_end
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = -3
		y = 5

		available = {
			has_democratic_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_imperial_court_reforms
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_limited_aristocrats"
			swap_ideas = {
				remove_idea = PER_corrupt_aristocrats
				add_idea = PER_aristocratic_influence_lower
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_wrath_of_the_lion
		icon = GFX_focus_hol_united_netherlands
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = -1
		y = 2

		mutually_exclusive = {
			focus = PER_reinforced_consti
		}
		available = {
			has_government = paternal_autocrat
		}
		ai_will_do = { factor = 20 }
		prerequisite = {
			focus = PER_long_live
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_wrath_of_the_lion"
			swap_ideas = {
				remove_idea = PER_political_upheaval
				add_idea = PER_changing_bureaucracy
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_enforced_loyalty
		icon = GFX_focus_generic_oppression
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = -1
		y = 3

		available = {
			has_government = paternal_autocrat
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_wrath_of_the_lion
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_enforced_loyalty"
			swap_ideas = {
				remove_idea = PER_corrupt_aristocrats
				add_idea = PER_loyalty_enforced
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_never_again
		icon = GFX_focus_ETH_continuous_strengthen_the_black_lions
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = -1
		y = 4

		available = {
			has_government = paternal_autocrat
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_enforced_loyalty
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_never_again"
			add_ideas = PER_lion_strikes_back
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_bedroud_oh_cons
		icon = GFX_goal_treaty_fails
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = -1
		y = 5

		available = {
			has_government = paternal_autocrat
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_never_again
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_bedroud_oh_cons"
			remove_ideas = PER_changing_bureaucracy
			add_political_power = 200
			add_stability = -0.05
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_long_live_revolution
		icon = GFX_goal_tfv_sever_ties_with_uk
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = 3
		y = 1

		mutually_exclusive = {
			focus = PER_long_live
		}
		ai_will_do = { factor = 20 }
		available = {
			custom_override_tooltip = {
				tooltip = PER_revolution_tt
				always = no
			}
		}
		prerequisite = {
			focus = PER_shah_is_dead_press_f
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_long_live_revolution"
			add_political_power = 150
			PER_remove_monarchy = yes
			hidden_effect = {
				activate_decision = PER_country_namechange_decision
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_desolation_of_sun_throne
		icon = GFX_goal_crush_monarchy
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 3
		y = 2

		available = {
			OR = {
				has_socialist_government = yes
				has_elected_government = yes
				has_government = national_populist
			}
		}
		ai_will_do = { factor = 20 }
		prerequisite = {
			focus = PER_long_live_revolution
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_desolation_of_sun_throne"
			add_stability = 0.05
			add_war_support = 0.1
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_republic
		icon = GFX_goal_Fight_for_Freedom
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = 4
		y = 3

		mutually_exclusive = {
			focus = PER_nedaye_socialism
		}
		available = {
			has_elected_government = yes
		}
		ai_will_do = { factor = 20 }
		prerequisite = {
			focus = PER_desolation_of_sun_throne
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_republic"
			swap_ideas = {
				remove_idea = PER_political_upheaval
				add_idea = PER_changing_bureaucracy
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_stronk_parliament
		icon = GFX_goal_generic_parliament
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 5
		y = 4

		available = {
			has_elected_government = yes
		}
		ai_will_do = { factor = 20 }
		prerequisite = {
			focus = PER_republic
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_stronk_parliament"
			add_stability = 0.05
			remove_ideas = PER_changing_bureaucracy
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_uproot_aristos
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 5
		y = 5

		available = {
			has_elected_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_stronk_parliament
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_uproot_aristos"
			remove_ideas = PER_corrupt_aristocrats
		}
	}

	focus = {
		id = PER_nedaye_socialism
		icon = GFX_goal_red_star_green_wreath
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = 2
		y = 3

		available = {
			has_socialist_government = yes
		}
		mutually_exclusive = {
			focus = PER_republic
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_desolation_of_sun_throne
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_nedaye_socialism"
			country_event = persia_events.34
			swap_ideas = {
				remove_idea = PER_political_upheaval
				add_idea = PER_changing_bureaucracy
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_evolution
		icon = GFX_focus_focus_fra_revolution_utmost
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 3
		y = 4

		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_nedaye_socialism
		}
		mutually_exclusive = {
			focus = PER_revolution
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_evolution"
			add_ideas = PER_evolution_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_integrate_burgie
		icon = GFX_socialist_constitution
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 3
		y = 5

		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_evolution
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_integrate_burgie"
			remove_ideas = PER_changing_bureaucracy
			swap_ideas = {
				remove_idea = PER_corrupt_aristocrats
				add_idea = PER_reformed_bourgoise
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_revolution
		icon = GFX_goal_refugee_management
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 1
		y = 4

		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 20 }
		prerequisite = {
			focus = PER_nedaye_socialism
		}
		mutually_exclusive = {
			focus = PER_evolution
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_revolution"
			add_war_support = 0.05
			add_stability = -0.1
			add_timed_idea = {
				idea = PER_purge
				days = 150
			}
		}
	}

	focus = {
		id = PER_purge_burgie
		icon = GFX_goal_generic_expel_people
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 1
		y = 5

		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_revolution
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_purge_burgie"
			remove_ideas = PER_changing_bureaucracy
			remove_ideas = PER_corrupt_aristocrats
			add_timed_idea = {
				idea = PER_purged_bourgoise
				days = 365
			}
		}
	}

	focus = {
		id = PER_new_consti
		icon = GFX_goal_new_treaty
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 3
		y = 6

		available = {
			OR = {
				has_elected_government = yes
				has_socialist_government = yes
			}
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_purge_burgie
			focus = PER_integrate_burgie
			focus = PER_uproot_aristos
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_new_consti"
			add_stability = 0.05
			add_political_power = 100
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_mideast_democracy
		icon = GFX_goal_liberty
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 2
		y = 7

		available = {
			has_elected_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_new_consti
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_mideast_democracy"
			add_ideas = PER_shining_democracy
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_join_reichspakt
		icon = GFX_goal_COS_German_Bailout
		cost = 5

		relative_position_id = PER_mideast_democracy
		x = -3
		y = 1

		prerequisite = {
			focus = PER_agha_khan_legacy
			focus = PER_mideast_democracy
		}

		mutually_exclusive = { focus = PER_join_moscow_accord }

		available = {
			is_subject = no
			OTT_ottomans_defeated = yes
			NOT = { has_idea = generic_neutral_foreign_policy }
			GER = { is_faction_leader = yes }
			at_peace_or_same_enemies_as_GER = yes
		}
		bypass = { is_in_faction_with = GER }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 0
				OR = {
					has_country_flag = PER_align_with_RUS
					has_country_flag = PER_neutrality
				}
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_join_reichspakt"
			if = {
				limit = { is_faction_leader = yes }
				custom_effect_tooltip = PER_dismantle_faction_tt
				custom_effect_tooltip = tooltip_white_line
			}
			GER = { ask_to_join_faction = yes }
		}
	}

	focus = {
		id = PER_join_moscow_accord
		icon = GFX_focus_russian_cooperation
		cost = 5

		relative_position_id = PER_mideast_democracy
		x = -1
		y = 1

		prerequisite = {
			focus = PER_agha_khan_legacy
			focus = PER_mideast_democracy
		}

		mutually_exclusive = { focus = PER_join_reichspakt }

		available = {
			is_subject = no
			OTT_ottomans_defeated = yes
			NOT = { has_idea = generic_neutral_foreign_policy }
			RUS = {
				is_faction_leader = yes
				has_socialist_government = no
			}
			584 = {
				OR = {
					is_owned_by = RUS
					owner = { is_subject_of = RUS }
				}
			}
			NOT = { has_country_flag = PER_RUS_refused_alliance_offer }
			at_peace_or_same_enemies_as_RUS = yes
		}
		bypass = { is_in_faction_with = RUS }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 0
				OR = {
					has_country_flag = PER_align_with_GER
					has_country_flag = PER_neutrality
				}
			}
		}

		select_effect = {
			log = "[GetLogRoot]: Select Focus PER_join_moscow_accord"
			RUS = { country_event = { id = persia_events.120 days = 2 } } #[PER.GetName] Asks For an Alliance
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_join_moscow_accord"
			if = {
				limit = { is_faction_leader = yes }
				custom_effect_tooltip = PER_dismantle_faction_tt
				custom_effect_tooltip = tooltip_white_line
			}
			if = {
				limit = { owns_state = 418 } #Ashkhabad
				custom_effect_tooltip = PER_join_moscow_accord_ashkhabad_tt
				custom_effect_tooltip = tooltip_white_line
			}
			custom_effect_tooltip = if_they_accept_tt
			event_option_tooltip = persia_events.121.a
		}
	}

	focus = {
		id = PER_mideast_communism
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = 4
		y = 7

		available = {
			has_socialist_government = yes
		}
		ai_will_do = { factor = 7 }
		prerequisite = {
			focus = PER_new_consti
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_mideast_communism"
			add_ideas = PER_beacon_mideast_socialism
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_anti_imperialism
		icon = GFX_focus_attack_britain
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = 3
		y = 8

		ai_will_do = {
			factor = 5
			modifier = {
				factor = 0
				NOT = { has_game_rule = { rule = PER_forpol option = PER_FORPOL_HND } }
				OR = {
					country_is_in_dangerous_war = yes
					RAJ = { default_attack_AI_trigger = yes }
				}
			}
			modifier = {
				factor = 0
				OR = {
					AND = {
						has_game_rule = { rule = PER_forpol option = PER_FORPOL_INT }
						OR = {
							country_exists = INT
							RUS = { has_socialist_government = yes }
						}
					}
					AND = {
						has_game_rule = { rule = PER_forpol option = PER_FORPOL_CHI }
						country_exists = CHI
						NOT = {
							has_game_rule = { rule = HND_forpol option = HND_FORPOL_CHI }
							HND = { is_in_faction_with = CHI }
						}
					}
				}
			}
			modifier = {
				factor = 10
				OR = {
					HND = { has_completed_focus = HND_unite_india }
					has_game_rule = { rule = PER_forpol option = PER_FORPOL_HND }
				}
			}
		}
		will_lead_to_war_with = RAJ
		available = {
			is_subject = no
			has_socialist_government = yes
			HND = {
				exists = yes
				has_socialist_government = yes
				is_subject = no
				NOT = { has_war_with = ROOT }
			}
			OTT_ottomans_defeated = yes
			OR = {
				can_declare_war_on = RAJ
				NOT = { country_exists = RAJ }
			}
			at_peace_or_same_enemies_as_HND = yes
		}
		prerequisite = {
			focus = PER_mideast_communism
		}
		mutually_exclusive = {
			focus = PER_join_internationale
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_anti_imperialism"
			unlock_decision_tooltip = Join_HNDs_faction_decision
		}
	}

	focus = {
		id = PER_join_internationale
		icon = GFX_focus_SOV_international_union_of_soviet_republics
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = 5
		y = 8

		available = {
			is_subject = no
			has_socialist_government = yes
			OTT_ottomans_defeated = yes
			OR = {
				INT = { is_faction_leader = yes }
				RUS = {
					has_socialist_government = yes
					is_faction_leader = yes
				}
			}
			at_peace_or_same_enemies_as_INT = yes
		}
		bypass = {
			is_in_faction_with = INT
		}
		prerequisite = {
			focus = PER_mideast_communism
		}
		mutually_exclusive = {
			focus = PER_anti_imperialism
		}
		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
				country_exists = HND
				NOT = { has_game_rule = { rule = PER_forpol option = PER_FORPOL_INT } }
			}
			modifier = {
				factor = 0
				country_exists = CHI
				has_game_rule = { rule = PER_forpol option = PER_FORPOL_CHI }
				NOT = { CHI = { is_in_faction_with = INT } }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_join_internationale"
			if = {
				limit = { is_faction_leader = yes }
				custom_effect_tooltip = PER_dismantle_faction_tt
				custom_effect_tooltip = tooltip_white_line
			}
			if = {
				limit = {
					RUS = {
						has_socialist_government = yes
						is_faction_leader = yes
						NOT = { has_war_with = ROOT }
					}
				}
				RUS = { country_event = persia_events.105 }
			}
			else = {
				INT = { country_event = persia_events.105 }
			}
		}
	}

	focus = {
		id = PER_baharain
		icon = GFX_goal_PER_Flag_Bahrain
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = 1
		y = 6

		prerequisite = {
			focus = PER_limited_aristocrats
			focus = PER_bedroud_oh_cons
			focus = PER_purge_burgie
			focus = PER_integrate_burgie
			focus = PER_uproot_aristos
		}

		ai_will_do = {
			factor = 7
			modifier = {
				factor = 0
				OTT_ottomans_defeated = no #don't attack before the Cairo Pact war
			}
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				var:907.owner = { default_attack_AI_trigger = yes }
			}
		}
		available = {
			is_subject = no
			OTT_ottomans_defeated = yes
			can_declare_war_on = 907.owner
		}
		bypass = {
			owns_state = 907 #Bahrain
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_baharain"
			add_state_claim = 907 #Bahrain
			var:907.owner = { country_event = persia_events.67 }
		}
	}

	focus = {
		id = PER_agha_khan_legacy
		icon = GFX_goal_authority
		cost = 8

		relative_position_id = PER_shah_is_dead_press_f
		x = -2
		y = 7

		ai_will_do = { factor = 5 }
		prerequisite = {
			focus = PER_limited_aristocrats
			focus = PER_bedroud_oh_cons
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_agha_khan_legacy"
			add_ideas = PER_legacy_of_agha_khan
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_iraq_i_arab
		icon = GFX_goal_PER_Claim_Iraq
		cost = 5

		relative_position_id = PER_shah_is_dead_press_f
		x = -1
		y = 6

		prerequisite = {
			focus = PER_limited_aristocrats
			focus = PER_bedroud_oh_cons
			focus = PER_purge_burgie
			focus = PER_integrate_burgie
			focus = PER_uproot_aristos
		}

		will_lead_to_war_with = IRQ
		ai_will_do = {
			factor = 1000
			modifier = {
				factor = 0
				NOT = { has_war_with = 291.owner }
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				has_war_with = OTT
				can_declare_war_on = IRQ
				IRQ = { has_war_with = OTT }
			}
			modifier = {
				factor = 0
				NOT = { has_war_with = IRQ }
				OR = {
					IRQ = { dont_start_major_faction_wars = yes }
					IRQ = { default_attack_AI_trigger = yes }
				}
			}
		}
		available = {
			is_subject = no
			OR = {
				291 = { owner = { has_war_with = ROOT } }
				OTT_ottomans_defeated = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_iraq_i_arab"
			add_political_power = 50
			add_war_support = 0.05
			add_state_claim = 291
			add_state_claim = 349
			add_state_claim = 352
			add_state_claim = 676
			add_state_claim = 812
			add_state_claim = 819
			if = {
				limit = { can_declare_war_on = IRQ }
				create_wargoal = {
					type = annex_everything
					target = IRQ
				}
			}
			else_if = {
				limit = { has_subject = IRQ }
				annex_country = {
					target = IRQ
					transfer_troops = no
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	#new nationalist politics short tree#
	
	focus = {
		id = PER_iran_will_rise_again
		icon = GFX_focus_PER_reinforce_iranian_identity
		cost = 5

		relative_position_id = PER_desolation_of_sun_throne
		x = 5
		y = 1

		mutually_exclusive = {
			focus = PER_nedaye_socialism
			focus = PER_republic
		}
		available = {
			has_government = national_populist
		}
		ai_will_do = { factor = 2500 }
		prerequisite = {
			focus = PER_desolation_of_sun_throne
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_iran_will_rise_again"
			swap_ideas = {
				remove_idea = PER_political_upheaval
				add_idea = PER_changing_bureaucracy
			}
			add_war_support = 0.1
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_break_feudalism
		icon = GFX_focus_PER_abolish_feudalism
		cost = 5

		relative_position_id = PER_iran_will_rise_again
		x = 0
		y = 1


		available = {
			has_government = national_populist
		}
		ai_will_do = { factor = 2500 }
		prerequisite = {
			focus = PER_iran_will_rise_again
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_break_feudalism"
			remove_ideas = PER_corrupt_aristocrats
			add_stability = 0.05
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_continue_persianization
		icon = GFX_goal_RUS_streamline_autonomies
		cost = 5

		relative_position_id = PER_break_feudalism
		x = 0
		y = 1


		available = {
			has_government = national_populist
		}
		ai_will_do = { factor = 200 }
		prerequisite = {
			focus = PER_break_feudalism
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_continue_persianization"
			swap_ideas = {
				remove_idea = PER_changing_bureaucracy
				add_idea = PER_streamlined_administration_0
			}
			add_popularity = { ideology = national_populist popularity = 0.05 }
			add_stability = 0.05
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_consolidate_executive_power
		icon = GFX_focus_generic_authoritarian_government
		cost = 5

		relative_position_id = PER_continue_persianization
		x = 0
		y = 1


		available = {
			has_government = national_populist
		}
		
		ai_will_do = { factor = 200 }
		prerequisite = {
			focus = PER_continue_persianization
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_consolidate_executive_power"
			add_political_power = 100
			swap_ideas = {
				remove_idea = PER_streamlined_administration_0
				add_idea = PER_streamlined_administration_1
			}
			add_popularity = { ideology = national_populist popularity = 0.05 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_national_awakening
		icon = GFX_focus_PER_pan_iranianism
		cost = 5

		relative_position_id = PER_consolidate_executive_power
		x = 0
		y = 1


		available = {
			has_government = national_populist
		}
		bypass = {
			
		}
		ai_will_do = { factor = 1 }
		prerequisite = {
			focus = PER_consolidate_executive_power
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_national_awakening"
			set_temp_variable = { ideology_change_var = 0.05 }
			add_popularity = { ideology = national_populist popularity = 0.1 }
			custom_effect_tooltip = tooltip_white_line
			add_political_power = 100
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_irrendentist_pan_iran
		icon = GFX_goal_PER_Pan_Iranism
		cost = 5

		relative_position_id = PER_national_awakening
		x = -1
		y = 1

		will_lead_to_war_with = AFG
		will_lead_to_war_with = IRQ
		will_lead_to_war_with = ARM
		will_lead_to_war_with = GEO
		available = {
			has_government = national_populist
		}
		mutually_exclusive = {
			focus = PER_cultural_pan_iran
		}
		ai_will_do = { factor = 0 }
		prerequisite = {
			focus = PER_national_awakening
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_irrendentist_pan_iran"
			add_war_support = 0.1
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PER_cultural_pan_iran
		icon = GFX_focus_PER_rally_ancient_history
		cost = 5

		relative_position_id = PER_national_awakening
		x = 1
		y = 1


		available = {
			has_government = national_populist
		}
		mutually_exclusive = {
			focus = PER_irrendentist_pan_iran
		}
		ai_will_do = { factor = 20 }
		prerequisite = {
			focus = PER_national_awakening
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_cultural_pan_iran"
			add_stability = 0.1
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	#new economy tree#
	focus = {
		id = PER_teenage_unemployment
		icon = GFX_goal_social_reforms
		cost = 5

		prerequisite = {
			focus = PER_doshanbeh_siah
		}

		relative_position_id = PER_doshanbeh_siah
		x = -4
		y = 1

		ai_will_do = { factor = 1500 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_teenage_unemployment"
			custom_effect_tooltip = PER_improve_black_monday_effect
			PER_improve_black_monday_effect = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
	}

	focus = {
		id = PER_DES_forced_secularization
		icon = GFX_focus_PER_forced_secularization
		cost = 6

		relative_position_id = PER_teenage_unemployment
		x = -2
		y = 1

		ai_will_do = { 
			factor = 75
			modifier = {
				factor = 20
				has_socialist_government = yes
			}
			modifier = {
				factor = 20
				has_democratic_government = yes
			}
		}
		prerequisite = {
			focus = PER_teenage_unemployment
		}
		mutually_exclusive = {
			focus = PER_DES_shiite_solidarity
			focus = PER_DES_iranian_rejuvenation
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_DES_forced_secularization"
			swap_ideas = {
    				remove_idea = PER_religion_begin_idea
   	 			add_idea = PER_forced_secularization_idea
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_DES_shiite_solidarity
		icon = GFX_focus_PER_islamic_solidarity
		cost = 6

		relative_position_id = PER_teenage_unemployment
		x = 0
		y = 1

		ai_will_do = { 
			factor = 75
			
		}
		prerequisite = {
			focus = PER_teenage_unemployment
		}
		mutually_exclusive = {
			focus = PER_DES_forced_secularization
			focus = PER_DES_iranian_rejuvenation
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_DES_shiite_solidarity"
			custom_effect_tooltip = shiite_solidarity_land_focus_tt
			swap_ideas = {
    				remove_idea = PER_religion_begin_idea
   	 			add_idea = PER_shiite_solidarity_idea
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_DES_iranian_rejuvenation
		icon = GFX_focus_PER_revive_old_ways
		cost = 6

		relative_position_id = PER_teenage_unemployment
		x = 2
		y = 1

		ai_will_do = { 
			factor = 75
			modifier = {
				factor = 20
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = PER_teenage_unemployment
		}
		mutually_exclusive = {
			focus = PER_DES_shiite_solidarity
			focus = PER_DES_forced_secularization
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_DES_iranian_rejuvenation"
			swap_ideas = {
    				remove_idea = PER_religion_begin_idea
   	 			add_idea = PER_iranian_rejuvenation_idea
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}


	focus = {
		id = PER_mandatory_edu
		icon = GFX_goal_KTG_Bookstack
		cost = 7

		relative_position_id = PER_DES_shiite_solidarity
		x = 0
		y = 1

		ai_will_do = { 
			factor = 100
		}
		prerequisite = {
			focus = PER_DES_forced_secularization
			focus = PER_DES_shiite_solidarity
			focus = PER_DES_iranian_rejuvenation
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_mandatory_edu"
			add_timed_idea = {
    				idea = PER_mandatory_education_implementing
   				days = 365
			}
			custom_effect_tooltip = PER_literacy_after_one_year_tt
			effect_tooltip = {
				PER_improve_literacy_effect = yes
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_mass_literacy_program
		icon = GFX_focus_generic_military_academy
		cost = 7

		relative_position_id = PER_mandatory_edu
		x = 0
		y = 1

		ai_will_do = { factor = 100 }
		prerequisite = {
			focus = PER_mandatory_edu
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_mass_literacy_program"
			add_timed_idea = {
    				idea = PER_mass_literacy_program_happening
   				days = 365
			}
			custom_effect_tooltip = PER_literacy_after_one_year_tt
			effect_tooltip = {
				PER_improve_literacy_effect = yes
			}
		}
	}

	focus = {
		id = PER_abadan_technical_school
		icon = GFX_focus_generic_university_3
		cost = 7


		relative_position_id = PER_mass_literacy_program
		x = -2
		y = 1

		ai_will_do = { factor = 100 }
		prerequisite = {
			focus = PER_mass_literacy_program
		}
		available = {
			NOT = { has_idea = PER_mandatory_education_implementing }
			NOT = { has_idea = PER_mass_literacy_program_happening }
		}
		mutually_exclusive = {
			focus = PER_tehran_uni
			focus = PER_shiraz_uni
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tehran_uni"
			PER_improve_literacy_effect = yes
			add_research_slot_until_five = yes
			add_tech_bonus = {
				name = PER_abadan_technical_school
				bonus = 0.5
				uses = 2
				category = excavation_tech
				category = construction_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_tehran_uni
		icon = GFX_focus_PER_university_of_isfahan
		cost = 7


		relative_position_id = PER_mass_literacy_program
		x = 0
		y = 1

		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 20
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = PER_mass_literacy_program
		}
		available = {
			NOT = { has_idea = PER_mandatory_education_implementing }
			NOT = { has_idea = PER_mass_literacy_program_happening }
		}
		mutually_exclusive = {
			focus = PER_abadan_technical_school
			focus = PER_shiraz_uni
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tehran_uni"
			PER_improve_literacy_effect = yes
			add_research_slot_until_five = yes
			add_political_power = 150
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_shiraz_uni
		icon = GFX_focus_PER_shiraz_university
		cost = 7


		relative_position_id = PER_mass_literacy_program
		x = 2
		y = 1

		ai_will_do = { 
			factor = 100
		}
		prerequisite = {
			focus = PER_mass_literacy_program
		}
		available = {
			NOT = { has_idea = PER_mandatory_education_implementing }
			NOT = { has_idea = PER_mass_literacy_program_happening }
		}
		mutually_exclusive = {
			focus = PER_abadan_technical_school
			focus = PER_tehran_uni
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tehran_uni"
			PER_improve_literacy_effect = yes
			add_research_slot_until_five = yes
			add_tech_bonus = {
				name = PER_shiraz_uni
				bonus = 0.5
				uses = 2
				category = support_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_establish_national_museum
		icon = GFX_focus_PER_national_museum
		cost = 7


		relative_position_id = PER_tehran_uni
		x = 0
		y = 1

		ai_will_do = { factor = 10 }
		prerequisite = {
			focus = PER_abadan_technical_school
			focus = PER_tehran_uni
			focus = PER_shiraz_uni
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tehran_uni"
			add_stability = 0.1
			add_war_support = 0.1
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}


	focus = {
		id = PER_doshanbeh_siah
		icon = GFX_goal_bankruptcy
		cost = 6

		x = 20
		y = 0

		available = {
			has_idea = PER_black_monday
		}
		ai_will_do = { factor = 1000 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_doshanbeh_siah"
			custom_effect_tooltip = PER_improve_black_monday_effect
			PER_improve_black_monday_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_establish_SAVAK
		icon = GFX_focus_PER_form_savak
		cost = 4

		relative_position_id = PER_doshanbeh_siah
		x = 2
		y = 1

		prerequisite = {
			focus = PER_doshanbeh_siah
		}
		ai_will_do = { factor = 1000 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_establish_SAVAK"
			add_ideas = PER_SAVAK_idea
			if = {
				limit = { has_intelligence_agency = no }
				create_intelligence_agency = yes
			}
			if = {
				limit = { NOT = { has_done_agency_upgrade = upgrade_psycho_warfare } }
				upgrade_intelligence_agency = upgrade_passive_defense
			}
			if = {
				limit = { NOT = { has_done_agency_upgrade = upgrade_psycho_warfare } }
				upgrade_intelligence_agency = upgrade_interrogation_techniques
			}
		}
		search_filters = {  }
	}

	focus = {
		id = PER_form_gendarmerie
		icon = GFX_focus_PER_iranian_gendarmerie
		cost = 5

		relative_position_id = PER_establish_SAVAK
		x = -2
		y = 1

		prerequisite = {
			focus = PER_establish_SAVAK
		}
		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_form_gendarmerie"
			swap_ideas = {
    				remove_idea = PER_SAVAK_idea
   	 			add_idea = PER_SAVAK_improved_idea
			}
			remove_ideas = PER_unruly_khans
			if = {
				limit = { NOT = { has_done_agency_upgrade = upgrade_psycho_warfare } }
				upgrade_intelligence_agency = upgrade_psycho_warfare
			}
			if = {
				limit = { NOT = { has_done_agency_upgrade = upgrade_psycho_warfare } }
				upgrade_intelligence_agency = upgrade_anti_partisan
			}
		}
		search_filters = {  }
	}

	focus = {
		id = PER_reform_tax_system
		icon = GFX_focus_RAJ_war_taxes
		cost = 6

		relative_position_id = PER_establish_SAVAK
		x = 0
		y = 1

		prerequisite = {
			focus = PER_establish_SAVAK
		}
		ai_will_do = { factor = 1000 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_reform_tax_system"
			PER_increase_one_reserve_effect = yes
			activate_targeted_decision = { target = PER decision = DES_PER_implement_tax_reforms }
		}
		search_filters = {  }
	}

	focus = {
		id = PER_asntan_qods_razavi
		icon = GFX_goal_islamic_healthcare
		cost = 5

		relative_position_id = PER_reform_tax_system
		x = -1
		y = 1

		ai_will_do = { 
			factor = 50
			modifier = {
				factor = 20
				PER_at_least_3_budget = no
			}
		}
		prerequisite = {
			focus = PER_reform_tax_system
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_asntan_qods_razavi"
			country_event = persia_events.32
			custom_effect_tooltip = tooltip_event_allows_choice
			custom_effect_tooltip = tooltip_event_choice_option_1
			event_option_tooltip = persia_events.32.a
			custom_effect_tooltip = tooltip_event_choice_option_2
			event_option_tooltip = persia_events.32.b
		}
	}

	focus = {
		id = PER_sheikh_kazal
		icon = GFX_goal_collaborate_local_elites
		cost = 5

		relative_position_id = PER_reform_tax_system
		x = 1
		y = 1

		ai_will_do = { 
			factor = 50
			modifier = {
				factor = 20
				PER_at_least_3_budget = no
			}
		}
		prerequisite = {
			focus = PER_reform_tax_system
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_sheikh_kazal"
			country_event = persia_events.33
			custom_effect_tooltip = tooltip_event_allows_choice
			custom_effect_tooltip = tooltip_event_choice_option_1
			event_option_tooltip = persia_events.33.a
			custom_effect_tooltip = tooltip_event_choice_option_2
			event_option_tooltip = persia_events.33.b
		}
	}

	focus = {
		id = PER_form_national_bank
		icon = GFX_focus_PER_national_bank
		cost = 5

		relative_position_id = PER_asntan_qods_razavi
		x = 1
		y = 1

		ai_will_do = { 
			factor = 500
			modifier = {
				factor = 0.1
				PER_at_least_3_budget = yes
			}
			modifier = {
				factor = 0
				PER_at_least_4_budget = yes
			}
		}
		prerequisite = {
			focus = PER_asntan_qods_razavi
		}
		prerequisite = {
			focus = PER_sheikh_kazal
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_form_national_bank"
			PER_increase_two_reserve_effect = yes
			custom_effect_tooltip = national_bank_completed_before_war_tt
		}
	}

	focus = {
		id = PER_reform_legal_system
		icon = GFX_focus_AUS_lawmaking_leniency
		cost = 5

		relative_position_id = PER_form_national_bank
		x = 0
		y = 1

		ai_will_do = { factor = 10 }
		prerequisite = {
			focus = PER_form_national_bank
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_reform_legal_system"
			add_political_power = 100
			add_stability = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = PER_ali_akbar_davar_advisor
		}
	}
	

	focus = {
		id = PER_build_our_industry
		icon = GFX_focus_PER_modernizing_iran
		cost = 2

		relative_position_id = PER_doshanbeh_siah
		x = 7
		y = 1

		ai_will_do = { factor = 1000 }
		prerequisite = {
			focus = PER_doshanbeh_siah
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_build_our_industry"
			activate_targeted_decision = { target = PER decision = DES_PER_upgrade_industry_0_1 }
			activate_targeted_decision = { target = PER decision = DES_PER_focus_on_civilian_construction }
			activate_targeted_decision = { target = PER decision = DES_PER_focus_on_military_construction }
			activate_targeted_decision = { target = PER decision = DES_PER_focus_on_facilities_construction }
			activate_targeted_decision = { target = PER decision = DES_PER_focus_on_logistics_construction }
		}
	}

	focus = {
		id = PER_agriculture_modern
		icon = GFX_focus_generic_agriculture
		cost = 5

		relative_position_id = PER_build_our_industry
		x = -2
		y = 1

		ai_will_do = { factor = 15 }
		prerequisite = {
			focus = PER_build_our_industry
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_agriculture_modern"
			custom_effect_tooltip = PER_decrease_famine_effect
			PER_decrease_famine_effect = yes
			if = {
				limit = { 
					NOT = { has_idea = PER_asntan_qods_razavi_deal } 
					has_completed_focus = PER_asntan_qods_razavi
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = because_seized_bonyad_tt
				411 = { increase_state_category_by_one_level = yes }
				412 = { increase_state_category_by_one_level = yes }
				420 = { increase_state_category_by_one_level = yes }
			}
			else_if = {
				limit = { NOT = { has_idea = PER_asntan_qods_razavi_deal } }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = if_seized_bonyad_tt
				effect_tooltip = {
					411 = { increase_state_category_by_one_level = yes }
					412 = { increase_state_category_by_one_level = yes }
					420 = { increase_state_category_by_one_level = yes }
				}
			}
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_agri_funding
		icon = GFX_focus_generic_agricultural_subsidies
		cost = 5

		relative_position_id = PER_agriculture_modern
		x = 0
		y = 1

		ai_will_do = { factor = 5 }
		prerequisite = {
			focus = PER_agriculture_modern
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_agri_funding"
			custom_effect_tooltip = PER_decrease_famine_effect
			PER_decrease_famine_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_kesharvazi_bank
		icon = GFX_goal_PAL_Food_Import
		cost = 5

		relative_position_id = PER_agri_funding
		x = 0
		y = 1

		ai_will_do = { factor = 5 }
		prerequisite = {
			focus = PER_agri_funding
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_kesharvazi_bank"
			add_to_variable = {
    				var = PER_export_focus_count
    				value = 1
			}
			custom_effect_tooltip = PER_decrease_famine_effect
			PER_decrease_famine_effect = yes
		}
	}

	focus = {
		id = PER_aghajari_oil_fields
		icon = GFX_goal_oil_derrick
		cost = 6

		relative_position_id = PER_build_our_industry
		x = 0
		y = 1

		ai_will_do = { factor = 15 }
		bypass = {
			NOT = {
				owns_state = 413
			}
		}
		available = {
			owns_state = 413
		}
		prerequisite = {
			focus = PER_build_our_industry
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_aghajari_oil_fields"
			413 = {
				add_resource = {
					type = oil
					amount = 24
				}
			}
			add_tech_bonus = {
				name = PER_aghajari_oil_fields
				bonus = 1.5
				uses = 1
				technology = fuel_refining
				technology = fuel_refining2
				technology = fuel_refining3
				technology = fuel_refining4
				technology = fuel_refining5
			}
			if = {
				limit = { 
					NOT = { has_idea = PER_sheikh_kazal_deal } 
					has_completed_focus = PER_sheikh_kazal
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = because_seized_kazal_tt
				413 = {
					increase_state_category_by_one_level = yes
					add_resource = {
						type = oil
						amount = 12
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else_if = {
				limit = { NOT = { has_idea = PER_sheikh_kazal_deal } }
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = if_seized_kazal_tt
				effect_tooltip = {
					413 = {
						increase_state_category_by_one_level = yes
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
						add_resource = {
							type = oil
							amount = 12
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_oil_explotaition
		icon = GFX_goal_further_oil
		cost = 6

		relative_position_id = PER_aghajari_oil_fields
		x = 0
		y = 1

		ai_will_do = { factor = 15 }
		available = {
			owns_state = 411
			owns_state = 412
		}
		bypass = {
			NOT = {
				owns_state = 411
				owns_state = 412
			}
		}
		prerequisite = {
			focus = PER_aghajari_oil_fields
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_oil_explotaition"
			add_resource = {
				type = oil
				amount = 10
				state = 411
			}
			add_resource = {
				type = oil
				amount = 10
				state = 412
			}
			add_tech_bonus = {
				name = PER_oil_explotaition
				bonus = 1.5
				uses = 2
				category = excavation_tech
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_oil_logistics
		icon = GFX_goal_OTT_Railroad
		cost = 6

		relative_position_id = PER_oil_explotaition
		x = 0
		y = 1

		ai_will_do = { factor = 15 }
		available = {
			owns_state = 411
			owns_state = 412
			owns_state = 413
		}
		bypass = {
			NOT = {
				owns_state = 411
				owns_state = 412
				owns_state = 413
			}
		}
		prerequisite = {
			focus = PER_oil_explotaition
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_oil_logistics"
			add_to_variable = {
    				var = PER_export_focus_count
    				value = 1
			}
			411 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			412 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			413 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = PER_oil_logistics
				bonus = 1.5
				uses = 1
				category = construction_tech
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PER_iranian_oil_company
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_mining_ops
		icon = GFX_goal_generic_coal_mining
		cost = 6

		relative_position_id = PER_build_our_industry
		x = 3
		y = 1

		ai_will_do = { 
			factor = 1000 
			modifier = {
				factor = 0.1
				PER_at_least_3_budget = no
			}
		}
		available = {
			owns_state = 414
			owns_state = 416
		}
		bypass = {
			NOT = {
				owns_state = 414
				owns_state = 416
			}
		}
		prerequisite = {
			focus = PER_build_our_industry
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_mining_ops"
			414 = {
				increase_state_category_by_one_level = yes
				add_resource = {
					type = steel
					amount = 8
				}
				add_resource = {
					type = chromium
					amount = 8
				}
			}
			416 = {
				increase_state_category_by_one_level = yes
				add_resource = {
					type = steel
					amount = 8
				}
				add_resource = {
					type = aluminium
					amount = 6
				}
			}
			266 = {
				add_resource = {
					type = tungsten
					amount = 12
				}
				add_resource = {
					type = aluminium
					amount = 6
				}
				add_resource = {
					type = chromium
					amount = 8
				}
			}
			412 = {
				add_resource = {
					type = aluminium
					amount = 12
				}
			}
			413 = {
				add_resource = {
					type = aluminium
					amount = 6
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	
	focus = {
		id = PER_tabriz_chemical
		icon = GFX_goal_chemical_industry
		cost = 7

		relative_position_id = PER_mining_ops
		x = -1
		y = 1

		ai_will_do = { 
			factor = 50 
			modifier = {
				factor = 20
				has_government = national_populist
			}
		}
		available = {
			419 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_2_budget		
				PER_at_least_2_budget = yes
			}
		}
		cancel = {
			NOT = { 419 = { is_controlled_by_ROOT_or_ally = yes } }

		}
		bypass = {
			NOT = { 419 = { is_owned_by = PER } }
		}
		prerequisite = {
			focus = PER_mining_ops
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tabriz_chemical"
			if = {
				limit = { 
					NOT = { has_global_flag = DES_russia_invested_tabriz_flag }
					has_global_flag = rus_per_ashgabat_accord_success
				}
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = coal
					amount = 4
					state = 419
				}
				random_owned_controlled_state = {
					prioritize = { 419 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { NOT = { has_tech = fuel_silos } }
					set_technology = { fuel_silos = 1 }
				}
				else_if = {
					limit = { NOT = { has_tech = synth_oil_experiments } }
					set_technology = { synth_oil_experiments = 1 }
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = if_already_invested_by_russia_tt
				effect_tooltip = {
					random_owned_controlled_state = {
						prioritize = { 419 }
						limit = {
							is_core_of = ROOT
							is_valid_state_for_development = yes
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = synthetic_refinery
							level = 1
							instant_build = yes
						}
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}
			else_if = {
				limit = { 
					has_global_flag = DES_russia_invested_tabriz_flag
					has_global_flag = rus_per_ashgabat_accord_success
				}
				custom_effect_tooltip = because_already_invested_by_russia_tt
				custom_effect_tooltip = tooltip_white_line
				add_resource = {
					type = coal
					amount = 4
					state = 419
				}
				random_owned_controlled_state = {
					prioritize = { 419 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = coal
					amount = 4
					state = 419
				}
				random_owned_controlled_state = {
					prioritize = { 419 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { NOT = { has_tech = fuel_silos } }
					set_technology = { fuel_silos = 1 }
				}
				else_if = {
					limit = { NOT = { has_tech = synth_oil_experiments } }
					set_technology = { synth_oil_experiments = 1 }
				}
			}

		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_tehran_auto
		icon = GFX_focus_GER_kdf_wagen
		cost = 8

		relative_position_id = PER_tabriz_chemical
		x = 0
		y = 1

		ai_will_do = { 
			factor = 50 
			modifier = {
				factor = 20
				has_government = national_populist
			}
		}
		available = {
			266 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		cancel = {
			NOT = { 266 = { is_controlled_by_ROOT_or_ally = yes } }

		}
		bypass = {
			NOT = { 266 = { is_owned_by = PER } }
		}
		prerequisite = {
			focus = PER_tabriz_chemical
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tehran_auto"
			add_to_variable = {
    				var = PER_export_focus_count
    				value = 1
			}
			if = {
				limit = { 
					NOT = { has_global_flag = DES_russia_invested_tehran_flag }
					has_global_flag = rus_per_ashgabat_accord_success
				}
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = steel
					amount = 16
					state = 266
				}
				add_resource = {
					type = coal
					amount = 6
					state = 266
				}
				random_owned_controlled_state = {
					prioritize = { 266 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { NOT = { has_tech = tech_trucks } }
					set_technology = { tech_trucks = 1 }
				}
				else_if = {
					limit = { NOT = { has_tech = motorised_infantry } }
					set_technology = { motorised_infantry = 1 }
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment
					amount = 250
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = if_already_invested_by_russia_tt
				effect_tooltip = {
					add_resource = {
						type = steel
						amount = 8
						state = 266
					}
					random_owned_controlled_state = {
						prioritize = { 266 }
						limit = {
							is_core_of = ROOT
							is_valid_state_for_development = yes
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes
						}
						add_building_construction = {
							type = industrial_complex
							level = 1
							instant_build = yes
						}
					}
				}
			}
			else_if = {
				limit = { 
					has_global_flag = DES_russia_invested_tehran_flag
					has_global_flag = rus_per_ashgabat_accord_success
				}
				custom_effect_tooltip = because_already_invested_by_russia_tt
				custom_effect_tooltip = tooltip_white_line
				add_resource = {
					type = steel
					amount = 8
					state = 266
				}
				add_resource = {
					type = coal
					amount = 6
					state = 266
				}
				random_owned_controlled_state = {
					prioritize = { 266 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = steel
					amount = 16
					state = 266
				}
				add_resource = {
					type = coal
					amount = 6
					state = 266
				}
				random_owned_controlled_state = {
					prioritize = { 266 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { NOT = { has_tech = tech_trucks } }
					set_technology = { tech_trucks = 1 }
				}
				else_if = {
					limit = { NOT = { has_tech = motorised_infantry } }
					set_technology = { motorised_infantry = 1 }
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment
					amount = 250
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}


	focus = {
		id = PER_mashhad_machinery
		icon = GFX_goal_munitions_factories
		cost = 7

		relative_position_id = PER_mining_ops
		x = 1
		y = 1

		ai_will_do = { 
			factor = 50 
			modifier = {
				factor = 20
				has_government = national_populist
			}
		}
		available = {
			416 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_2_budget		
				PER_at_least_2_budget = yes
			}
		}
		cancel = {
			NOT = { 416 = { is_controlled_by_ROOT_or_ally = yes } }

		}
		bypass = {
			NOT = { 416 = { is_owned_by = PER } }
		}
		prerequisite = {
			focus = PER_mining_ops
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_mashhad_machinery"
			if = {
				limit = { 
					NOT = { has_global_flag = DES_russia_invested_mashhad_flag }
					has_global_flag = rus_per_ashgabat_accord_success
				}
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = aluminium
					amount = 12
					state = 416
				}
				add_resource = {
					type = coal
					amount = 8
					state = 416
				}
				random_owned_controlled_state = {
					prioritize = { 416 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { NOT = { has_tech = tech_support } }
					set_technology = { tech_support = 1 }
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment
					amount = 250
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = if_already_invested_by_russia_tt
				effect_tooltip = {
					add_resource = {
						type = aluminium
						amount = 8
						state = 416
					}
					random_owned_controlled_state = {
						prioritize = { 416 }
						limit = {
							is_core_of = ROOT
							is_valid_state_for_development = yes
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
					}
				}
			}
			else_if = {
				limit = { 
					has_global_flag = DES_russia_invested_mashhad_flag
					has_global_flag = rus_per_ashgabat_accord_success
				}
				custom_effect_tooltip = because_already_invested_by_russia_tt
				custom_effect_tooltip = tooltip_white_line
				add_resource = {
					type = aluminium
					amount = 8
					state = 416
				}
				add_resource = {
					type = coal
					amount = 8
					state = 416
				}
				random_owned_controlled_state = {
					prioritize = { 416 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = aluminium
					amount = 12
					state = 416
				}
				add_resource = {
					type = coal
					amount = 8
					state = 416
				}
				random_owned_controlled_state = {
					prioritize = { 416 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				custom_effect_tooltip = tooltip_white_line
				if = {
					limit = { NOT = { has_tech = tech_support } }
					set_technology = { tech_support = 1 }
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment
					amount = 250
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_steel_mill
		icon = GFX_focus_generic_steel
		cost = 8

		relative_position_id = PER_mashhad_machinery
		x = 0
		y = 1

		ai_will_do = { 
			factor = 50 
			modifier = {
				factor = 20
				has_government = national_populist
			}
		}
		available = {
			411 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		cancel = {
			NOT = { 411 = { is_controlled_by_ROOT_or_ally = yes } }

		}
		bypass = {
			NOT = { 411 = { is_owned_by = PER } }
		}
		prerequisite = {
			focus = PER_mashhad_machinery
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_steel_mill"
			add_to_variable = {
    				var = PER_export_focus_count
    				value = 1
			}
			if = {
				limit = { 
					NOT = { has_global_flag = DES_russia_invested_isfahan_flag }
					has_global_flag = rus_per_ashgabat_accord_success
				}
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = steel
					amount = 30
					state = 411
				}
				add_resource = {
					type = coal
					amount = 6
					state = 411
				}
				random_owned_controlled_state = {
					prioritize = { 411 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_extra_state_shared_building_slots = 3
					add_building_construction = { type = infrastructure level = 1 }
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
				custom_effect_tooltip = tooltip_white_line
				custom_effect_tooltip = if_already_invested_by_russia_tt
					effect_tooltip = {
						add_resource = {
							type = steel
							amount = 15
							state = 411
						}
						random_owned_controlled_state = {
						prioritize = { 411 }
						limit = {
							is_core_of = ROOT
							is_valid_state_for_development = yes
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = industrial_complex
							level = 2
							instant_build = yes
						}
					}
				}
			}
			else_if = {
				limit = { 
					has_global_flag = DES_russia_invested_isfahan_flag
					has_global_flag = rus_per_ashgabat_accord_success
				}
				custom_effect_tooltip = because_already_invested_by_russia_tt
				custom_effect_tooltip = tooltip_white_line
				add_resource = {
					type = steel
					amount = 15
					state = 411
				}
				add_resource = {
					type = coal
					amount = 6
					state = 411
				}
				random_owned_controlled_state = {
					prioritize = { 411 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			else = {
				PER_decrease_one_reserve_effect = yes
				add_resource = {
					type = steel
					amount = 30
					state = 411
				}
				add_resource = {
					type = coal
					amount = 6
					state = 411
				}
				random_owned_controlled_state = {
					prioritize = { 411 }
					limit = {
						is_core_of = ROOT
						is_valid_state_for_development = yes
					}
					increase_state_category_by_two_levels = yes
					add_extra_state_shared_building_slots = 3
					add_building_construction = { type = infrastructure level = 1 }
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					add_building_construction = {
						type = industrial_complex
						level = 2
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PER_mobarakeh_steel
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_flourishing_exports
		icon = GFX_goal_generic_positive_trade_relations
		cost = 7

		relative_position_id = PER_tehran_auto
		x = 0
		y = 1

		ai_will_do = { 
			factor = 50 
			modifier = {
				factor = 20
				has_government = national_populist
				check_variable = {
    					PER_export_focus_count > 1
				}
			}
		}
		available = {
			is_subject = no
		}
		bypass = {
			
		}
		prerequisite = {
			focus = PER_kesharvazi_bank
			focus = PER_oil_logistics
			focus = PER_tehran_auto
			focus = PER_steel_mill
			focus = PER_expand_bandar_abbas
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_flourishing_exports"
			increase_trade_law = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = export_bonus_calculation_tt
			PER_give_export_bonus_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_embrace_the_future
		icon = GFX_focus_PER_our_place_in_empire
		cost = 7

		relative_position_id = PER_flourishing_exports
		x = 0
		y = 1

		ai_will_do = { factor = 1500 }
		available = {
			has_idea = PER_state_of_industry_4
		}
		bypass = {
			
		}
		prerequisite = {
			focus = PER_flourishing_exports
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_embrace_the_future"
			swap_ideas = {
				remove_idea = PER_state_of_industry_4
				add_idea = PER_state_of_industry_5
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}


	focus = {
		id = PER_dam_and_irrigation
		icon = GFX_focus_generic_hydroelectric_energy
		cost = 3

		relative_position_id = PER_build_our_industry
		x = 5
		y = 1

		ai_will_do = { 
			factor = 15
			modifier = {
				factor = 10
				has_government = national_populist
			}
		}
		available = {
			
		}
		bypass = {
			
		}
		prerequisite = {
			focus = PER_build_our_industry
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_dam_and_irrigation"
			activate_targeted_decision = { target = 413 decision = DES_PER_karun_hydroelectric_dam }
			activate_targeted_decision = { target = 411 decision = DES_PER_khersan_hydroelectric_dam }
			activate_targeted_decision = { target = 266 decision = DES_PER_bakhtiari_hydroelectric_dam }
			activate_targeted_decision = { target = PER decision = DES_PER_spread_modern_irrigation_tech }
			
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_electrify_our_cities
		icon = GFX_focus_generic_electrification
		cost = 5

		relative_position_id = PER_build_our_industry
		x = 7
		y = 1

		ai_will_do = { 
			factor = 15
			modifier = {
				factor = 10
				has_government = national_populist
			}
		}
		available = {
			
		}
		bypass = {
			
		}
		prerequisite = {
			focus = PER_build_our_industry
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_electrify_our_cities"
			add_timed_idea = {
    				idea = PER_iranian_electrification
    				days = 365
			}
			custom_effect_tooltip = tooltip_white_line
			activate_targeted_decision = { target = PER decision = DES_PER_electrify_our_cities }
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_form_railway_company
		icon = GFX_focus_generic_railroad
		cost = 4

		relative_position_id = PER_build_our_industry
		x = 9
		y = 1

		ai_will_do = { factor = 1500 }
		available = {
			
		}
		bypass = {

		}
		prerequisite = {
			focus = PER_build_our_industry
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_form_railway_company"
			custom_effect_tooltip = PER_improve_black_monday_effect
			PER_improve_black_monday_effect = yes
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 75
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PER_iran_railways
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_tabriz_to_mashahd_rail
		icon = GFX_focus_PER_expand_tabriz_masshad
		cost = 7

		relative_position_id = PER_form_railway_company
		x = -2
		y = 1

		ai_will_do = { 
			factor = 150
			modifier = {
				factor = 0
				RUS = { has_completed_focus = RUS_mission_to_teheran }
			}
		}
		available = {
			NOT = { RUS = { has_active_mission = DES_ashgabat_accord_mission } }
			419 = { is_owned_and_controlled_by = PER }
			266 = { is_owned_and_controlled_by = PER }
			416 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		cancel = {
			NOT = { 
				419 = { is_controlled_by_ROOT_or_ally = yes }
				266 = { is_controlled_by_ROOT_or_ally = yes }
				416 = { is_controlled_by_ROOT_or_ally = yes }
			}

		}
		bypass = {
			OR = {
				has_global_flag = completed_tabriz_ashgabat_rail
				NOT = { 
					419 = { is_owned_by = PER }
					266 = { is_owned_by = PER }
					416 = { is_owned_by = PER }
				}
			}
		}
		prerequisite = {
			focus = PER_form_railway_company
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tabriz_to_mashahd_rail"
			PER_decrease_one_reserve_effect = yes
			build_railway = {
    				level = 2
    				start_province = 1896 #tabriz
    				target_province = 10837 #tehran
			}
			build_railway = {
    				level = 2
    				start_province = 10837 #tehran
    				target_province = 5029 #mashhad
			}
			custom_effect_tooltip = tooltip_white_line
			419 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
			}
			266 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
			}
			416 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
				add_building_construction = {
					type = supply_node
					level = 1
					province = 5029
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_tehran_to_bandar_abbas_rail
		icon = GFX_focus_PER_expand_tehran_abbas
		cost = 7

		relative_position_id = PER_form_railway_company
		x = 0
		y = 1

		ai_will_do = { 
			factor = 150 
			modifier = {
				factor = 0
				RUS = { has_completed_focus = RUS_mission_to_teheran }
			}
		}
		available = {
			NOT = { RUS = { has_active_mission = DES_ashgabat_accord_mission } }
			266 = { is_owned_and_controlled_by = PER }
			411 = { is_owned_and_controlled_by = PER }
			412 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		cancel = {
			NOT = { 
				266 = { is_controlled_by_ROOT_or_ally = yes }
				411 = { is_controlled_by_ROOT_or_ally = yes }
				412 = { is_controlled_by_ROOT_or_ally = yes }
			}

		}
		bypass = {
			OR = {
				has_global_flag = completed_tehran_bandar_abbas_rail
				NOT = { 
					266 = { is_owned_by = PER }
					411 = { is_owned_by = PER }
					412 = { is_owned_by = PER }
				}
			}
		}
		prerequisite = {
			focus = PER_form_railway_company
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tehran_to_bandar_abbas_rail"
			PER_decrease_one_reserve_effect = yes
			build_railway = {
    				level = 2
    				start_province = 10837 #tehran
    				target_province = 2026 #isfahan
			}
			build_railway = {
    				level = 2
    				start_province = 2026 #isfahan
    				target_province = 8117 #shiraz
			}
			build_railway = {
    				level = 2
    				start_province = 8117 #shiraz
    				target_province = 7982 #bandar abbas
			}
			custom_effect_tooltip = tooltip_white_line
			266 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
			}
			411 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
				add_building_construction = {
					type = supply_node
					level = 1
					province = 2026
					instant_build = yes
				}
			}
			412 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
				add_building_construction = {
					type = supply_node
					level = 1
					province = 8117
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_tehran_to_emam_rail
		icon = GFX_focus_PER_expand_tehran_emam
		cost = 7

		relative_position_id = PER_form_railway_company
		x = 2
		y = 1

		ai_will_do = { 
			factor = 10
			modifier = {
				factor = 10
				has_government = national_populist
			}
		}
		available = {
			266 = { is_owned_and_controlled_by = PER }
			413 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		cancel = {
			NOT = { 
				266 = { is_controlled_by_ROOT_or_ally = yes }
				413 = { is_controlled_by_ROOT_or_ally = yes }
			}

		}
		bypass = {
			NOT = { 
				266 = { is_owned_by = PER }
				413 = { is_owned_by = PER }
			}
		}
		prerequisite = {
			focus = PER_form_railway_company
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tehran_to_emam_rail"
			PER_decrease_one_reserve_effect = yes
			build_railway = {
    				level = 2
    				start_province = 10837 #tehran
    				target_province = 5005 #emam
			}
			custom_effect_tooltip = tooltip_white_line
			266 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
			}
			413 = {
				add_building_construction = { type = infrastructure level = 1 }
				increase_state_category_by_one_level = yes
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_expand_bandar_abbas
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 6

		relative_position_id = PER_tehran_to_bandar_abbas_rail
		x = 0
		y = 1

		ai_will_do = { 
			factor = 15
		}
		available = {
			412 = { is_owned_and_controlled_by = PER }
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		cancel = {
			NOT = { 
				412 = { is_controlled_by_ROOT_or_ally = yes }
			}

		}
		bypass = {
			has_global_flag = DES_russia_invested_bandar_abbas_flag
			NOT = { 
				412 = { is_owned_by = PER }
			}
		}
		prerequisite = {
			focus = PER_tehran_to_bandar_abbas_rail
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_expand_bandar_abbas"
			add_to_variable = {
    				var = PER_export_focus_count
    				value = 1
			}
			412 = {
				increase_state_category_by_two_levels = yes
				add_building_construction = { type = infrastructure level = 1 }
				add_building_construction = { type = industrial_complex level = 1 }
				add_building_construction = { type = dockyard level = 1 }
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 7982
				}
				add_resource = {
    					type = oil
    					amount = 11
				}
			}
			PER = {
				add_equipment_to_stockpile = {
					type = convoy_1
					amount = 25
				}
				if = {
					limit = { NOT = { has_tech = mtg_transport } }
					set_technology = { mtg_transport = 1 }
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	#new army tree#

	focus = {
		id = PER_army_funding
		icon = GFX_goal_PER_army_emblem
		cost = 5
		
		available = {
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		x = 44
		y = 0

		ai_will_do = { 
			factor = 1500 
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_army_funding"
			PER_decrease_one_reserve_effect = yes
			army_experience = 25
			add_doctrine_cost_reduction = {
				name = PER_army_funding
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					is_valid_state_for_development = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_army_german
		icon = GFX_goal_germany
		cost = 5
		dynamic = yes

		relative_position_id = PER_army_funding
		x = -3
		y = 1

		available = {
			has_socialist_government = no
			GER = { is_faction_leader = yes }
			NOT = { has_war_with = GER }
		}
		mutually_exclusive = {
			focus = PER_army_austria
			focus = PER_army_france
			focus = PER_army_russia
		}

		prerequisite = {
			focus = PER_army_funding
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_army_german"
			add_war_support = 0.05
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.1
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_planning_speed = 0.1
				tooltip = planning_speed_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.1
				tooltip = land_doctrine_cost_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_opinion_modifier = {
				target = GER
				modifier = PER_military_cooperation
			}
			GER = {
				add_opinion_modifier = {
					target = PER
					modifier = PER_military_cooperation
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_kaiserliche_hard_to_write
		icon = GFX_focus_ger_oppose_hitler
		cost = 5

		relative_position_id = PER_army_german
		x = 0
		y = 1

		available = {
			has_socialist_government = no
			GER = { is_faction_leader = yes }
			NOT = { has_war_with = GER }
		}
		ai_will_do = { factor = 10 }
		prerequisite = {
			focus = PER_army_german
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_kaiserliche_hard_to_write"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.1
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_max_planning_factor = 0.1
				tooltip = max_planning_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_army_france
		icon = {
			trigger = { FRA = { has_cosmetic_tag = FRA_alternate } }
			value = GFX_goal_comfrance_alternate
		}
		icon = {
			trigger = { FRA = { has_cosmetic_tag = FRA_red } }
			value = GFX_goal_comfrance_red
		}
		icon = {
			trigger = { FRA = { has_cosmetic_tag = FRA_neosocialist } }
			value = GFX_goal_comfrance_neosocialist
		}
		icon = {
			trigger = { FRA = { has_cosmetic_tag = FRA_sorelian } }
			value = GFX_goal_comfrance_sorelian
		}
		icon = {
			value = GFX_goal_comfrance
		}
		cost = 5
		dynamic = yes

		relative_position_id = PER_army_funding
		x = -1
		y = 1

		mutually_exclusive = {
			focus = PER_army_austria
			focus = PER_army_german
			focus = PER_army_russia
		}
		ai_will_do = { factor = 10 }
		available = {
			has_socialist_government = yes
			INT = { is_faction_leader = yes }
			NOT = { has_war_with = INT }
		}
		prerequisite = {
			focus = PER_army_funding
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_army_france"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.05
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.3
				tooltip = land_doctrine_cost_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_opinion_modifier = {
				target = FRA
				modifier = PER_military_cooperation
			}
			FRA = {
				add_opinion_modifier = {
					target = PER
					modifier = PER_military_cooperation
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_hon_hon_longfrenchname
		icon = GFX_goal_integrate_the_militia
		cost = 5

		relative_position_id = PER_army_france
		x = 0
		y = 1

		available = {
			has_socialist_government = yes
			INT = { is_faction_leader = yes }
			NOT = { has_war_with = INT }
		}
		prerequisite = {
			focus = PER_army_france
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_hon_hon_longfrenchname"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.05
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_planning_speed = 0.3
				tooltip = planning_speed_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.1
				tooltip = land_doctrine_cost_factor_tooltip
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_army_austria
		icon = GFX_goal_austria
		cost = 5
		dynamic = yes

		relative_position_id = PER_army_funding
		x = 1
		y = 1

		available = {
			has_socialist_government = no
			country_exists = AUS
			AUS = { is_subject = no }
			NOT = { has_war_with = AUS }
		}
		prerequisite = {
			focus = PER_army_funding
		}
		mutually_exclusive = {
			focus = PER_army_france
			focus = PER_army_german
			focus = PER_army_russia
		}
		ai_will_do = { factor = 10 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_army_austria"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.15
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.10
				tooltip = land_doctrine_cost_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_opinion_modifier = {
				target = AUS
				modifier = PER_military_cooperation
			}
			AUS = {
				add_opinion_modifier = {
					target = PER
					modifier = PER_military_cooperation
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_teresa
		icon = GFX_goal_AUS_modern_army
		cost = 5

		relative_position_id = PER_army_austria
		x = 0
		y = 1

		available = {
			has_socialist_government = no
			country_exists = AUS
			AUS = { is_subject = no }
			NOT = { has_war_with = AUS }
		}
		bypass = {
			NOT = { country_exists = AUS }
		}
		ai_will_do = { factor = 10 }
		prerequisite = {
			focus = PER_army_austria
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_teresa"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_planning_speed = 0.2
				tooltip = planning_speed_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_max_planning_factor = 0.1
				tooltip = max_planning_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.10
				tooltip = land_doctrine_cost_factor_tooltip
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_army_russia
		icon = GFX_goal_russia
		cost = 5
		dynamic = yes

		relative_position_id = PER_army_funding
		x = 3
		y = 1

		available = {
			has_socialist_government = no
			country_exists = RUS
			RUS = { 
				is_subject = no 
				has_socialist_government = no
			}
			NOT = { has_war_with = RUS }
		}
		prerequisite = {
			focus = PER_army_funding
		}
		mutually_exclusive = {
			focus = PER_army_france
			focus = PER_army_german
			focus = PER_army_austria
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1938.1.1
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_army_russia"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.1
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.20
				tooltip = land_doctrine_cost_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_opinion_modifier = {
				target = RUS
				modifier = PER_military_cooperation
			}
			RUS = {
				add_opinion_modifier = {
					target = PER
					modifier = PER_military_cooperation
				}
			}
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_learn_from_black_epaulettes
		icon = GFX_goal_RUS_white_legacy
		cost = 5

		relative_position_id = PER_army_russia
		x = 0
		y = 1

		available = {
			has_socialist_government = no
			country_exists = RUS
			RUS = { 
				is_subject = no 
				has_socialist_government = no
			}
			NOT = { has_war_with = RUS }
		}
		bypass = {
			NOT = { country_exists = RUS }
			RUS = { 
				has_socialist_government = yes
			}
		}
		ai_will_do = { factor = 100 }
		prerequisite = {
			focus = PER_army_russia
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_teresa"
			add_war_support = 0.05
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.05
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_planning_speed = 0.15
				tooltip = planning_speed_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.1
				tooltip = land_doctrine_cost_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_war_college
		icon = GFX_goal_PER_army
		cost = 8

		relative_position_id = PER_army_funding
		x = 0
		y = 3

		available = {
			OR = {
				has_completed_focus = PER_long_live
				has_completed_focus = PER_long_live_revolution
			}
		}

		ai_will_do = { factor = 2000 }
		prerequisite = {
			focus = PER_teresa
			focus = PER_hon_hon_longfrenchname
			focus = PER_kaiserliche_hard_to_write
			focus = PER_learn_from_black_epaulettes
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_asfari_university"
			add_research_slot_until_five = yes
			custom_effect_tooltip = tooltip_white_line
			hidden_effect = {
				if = {
					limit = { has_completed_focus = PER_long_live_revolution }
					remove_dynamic_modifier = { modifier = PER_persia_army_dyn }
					add_dynamic_modifier = { modifier = PER_iran_army_dyn }
				}
			}
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_planning_speed = 0.1
				tooltip = planning_speed_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_max_planning_factor = 0.1
				tooltip = max_planning_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_doctrine_cost_factor = -0.1
				tooltip = land_doctrine_cost_factor_tooltip
			}
			add_mastery = {
    				amount = 100
    				# FILTERS:
    				folder = land
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_desert_training
		icon = GFX_focus_PER_desert_training
		cost = 6

		relative_position_id = PER_war_college
		x = -1
		y = 2

		
		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_war_college
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_desert_training"
			custom_effect_tooltip = tooltip_white_line
			enable_tech_desert_warfare = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_acclimatization_hot_climate_gain_factor = 0.3
				tooltip = acclimatization_hot_climate_gain_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_special_forces_cap = 0.05
				tooltip = special_forces_cap_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_bakhtiari_mountain
		icon = GFX_focus_PER_recruit_bakhtiari
		cost = 6

		relative_position_id = PER_war_college
		x = 1
		y = 2

		
		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_war_college
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_bakhtiari_mountain"
			custom_effect_tooltip = tooltip_white_line
			enable_DESNEW_tech_mountain_warfare = yes
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_acclimatization_cold_climate_gain_factor = 0.3
				tooltip = acclimatization_cold_climate_gain_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_special_forces_cap = 0.05
				tooltip = special_forces_cap_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_establish_tehran_armour
		icon = GFX_focus_PER_establish_tehran_armor
		cost = 8

		relative_position_id = PER_desert_training
		x = 1
		y = 1

		
		available = {
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_desert_training
		}
		prerequisite = {
			focus = PER_bakhtiari_mountain
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_establish_tehran_armour"
			PER_decrease_one_reserve_effect = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					has_dlc_aat = yes
				}
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = PER_tehran_armour_organisation
				mio:PER_tehran_armour_organisation = { 
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.1
					add_mio_research_bonus = 0.1
				}
			}
			else = {
				add_ideas = PER_tehran_armour_no_aat_idea
			}
			
			custom_effect_tooltip = tooltip_white_line
			random_owned_controlled_state = {
				prioritize = { 266 }
				limit = {
					is_core_of = ROOT
					is_valid_state_for_development = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = PER_establish_tehran_armour
				bonus = 1
				uses = 2
				category = armor
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}


	focus = {
		id = PER_the_cyrus_initiative
		icon = GFX_focus_PER_cyrus_initiative
		cost = 6

		relative_position_id = PER_establish_tehran_armour
		x = 0
		y = 1

		
		available = {
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				date > 1942.1.1
			}
		}
		prerequisite = {
			focus = PER_establish_tehran_armour
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_the_cyrus_initiative"
			PER_decrease_one_reserve_effect = yes
			if = {
				limit = {
					has_dlc_gtd = yes
					controls_province = 8117 #Shiraz
					412 = { #Fars
						is_owned_and_controlled_by = ROOT
						can_construct_building = land_facility
					}
				}
				412 = { #Isfahan
					add_building_construction = {
						type = land_facility
						level = 1
						province = 8117 #Shiraz
						instant_build = yes
					}
				}
				add_breakthrough_points = {
  					specialization = specialization_land
  					value = 2
				}
			}
			else_if = {
				limit = { has_dlc_gtd = yes }
				random_owned_controlled_state = {
					prioritize = { 266 420 }
					limit = {
						is_core_of = ROOT
						can_construct_building = land_facility
					}
					construct_building_in_random_province = { land_facility = 1 }
				}
				add_breakthrough_points = {
  					specialization = specialization_land
  					value = 2
				}
			}
			else = {
				add_tech_bonus = {
    					bonus = 1.5
					ahead_reduction = 1.5
    					uses = 1
   					category = artillery
				}
				add_tech_bonus = {
    					bonus = 1.5
					ahead_reduction = 1.5
    					uses = 1
   					category = armor
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}


	focus = {
		id = PER_best_of_the_best
		icon = GFX_focus_AFG_adopt_nufus
		cost = 6

		relative_position_id = PER_war_college
		x = -3
		y = 1

		mutually_exclusive = {
			focus = PER_the_national_army
		}
		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_democratic_government = yes
			}
			modifier = {
				factor = 15
				has_government = paternal_autocrat
			}
			modifier = {
				factor = 15
				has_government = authoritarian_democrat
			}
		}
		prerequisite = {
			focus = PER_war_college
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_best_of_the_best"
			add_doctrine_cost_reduction = {
				name = PER_best_of_the_best
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.1
				tooltip = army_org_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_maneuvre_and_speed
		icon = GFX_goal_generic_army_grand_battleplan
		cost = 6

		relative_position_id = PER_best_of_the_best
		x = -2
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_best_of_the_best
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_maneuvre_and_speed"
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_speed_factor = 0.1
				tooltip = army_speed_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_planning_speed = 0.1
				tooltip = planning_speed_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_intensify_training
		icon = GFX_focus_PER_special_forces_program
		cost = 6

		relative_position_id = PER_best_of_the_best
		x = 0
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_best_of_the_best
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_intensify_training"
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_experience_gain_army_unit_factor = 0.1
				tooltip = experience_gain_army_unit_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_max_training = 0.2
				tooltip = max_training_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_training_time_army_factor = 0.1
				tooltip = training_time_army_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_tip_of_the_spear
		icon = GFX_focus_eng_special_air_service
		cost = 6

		relative_position_id = PER_maneuvre_and_speed
		x = 1
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_maneuvre_and_speed
		}
		prerequisite = {
			focus = PER_intensify_training
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_tip_of_the_spear"
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_factor = 0.05
				tooltip = army_org_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_army_attack_factor = 0.05
				tooltip = army_attack_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_army_defence_factor = 0.05
				tooltip = army_defence_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_potential_special_forces_tree = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_modern_cataphract
		icon = GFX_focus_PER_modern_cataphract
		cost = 6

		relative_position_id = PER_tip_of_the_spear
		x = -1
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 25
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 30
				date > 1942.1.1
			}
		}
		prerequisite = {
			focus = PER_tip_of_the_spear
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_modern_cataphract"
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_breakthrough_factor = 0.1
				tooltip = breakthrough_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_army_attack_speed_factor = 0.15
				tooltip = army_attack_speed_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = PER_modern_cataphract
				bonus = 2
				uses = 1
				category = cat_mechanized_equipment
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_masterful_blitz = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_coordinated_attack
		icon = GFX_focus_SMB_special_forces_option_3
		cost = 6

		relative_position_id = PER_tip_of_the_spear
		x = 1
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 10
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 30
				date > 1942.1.1
			}
		}
		prerequisite = {
			focus = PER_tip_of_the_spear
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_coordinated_attack"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_coordination_bonus = 0.1
				tooltip = coordination_bonus_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_extensive_reconnaissance = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_the_national_army
		icon = GFX_focus_PER_reinforce_iranian_identity
		cost = 6

		relative_position_id = PER_war_college
		x = 3
		y = 1

		mutually_exclusive = {
			focus = PER_best_of_the_best
		}
		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_socialist_government = yes
			}
			modifier = {
				factor = 15
				has_government = national_populist
			}
		}
		prerequisite = {
			focus = PER_war_college
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_the_national_army"
			add_war_support = 0.1
			add_doctrine_cost_reduction = {
				name = PER_the_national_army
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_weekly_manpower = 1500
				tooltip = weekly_manpower_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_mobilization_laws_cost_factor = -0.1
				tooltip = mobilization_laws_cost_factor_tt
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_mass_mobilization
		icon = GFX_focus_PER_iran_for_iranians
		cost = 6

		relative_position_id = PER_the_national_army
		x = 0
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 25
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_the_national_army
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_mass_mobilization"
			add_war_support = 0.1
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_conscription = 0.02
				tooltip = conscription_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_continued_offensive
		icon = GFX_goal_planning_bonus
		cost = 6

		relative_position_id = PER_the_national_army
		x = 2
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_the_national_army
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_continued_offensive"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_max_planning = 0.05
				tooltip = max_planning_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_max_planning_factor = 0.1
				tooltip = max_planning_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_blood_of_the_martyrs
		icon = GFX_goal_RUS_heroism
		cost = 6

		relative_position_id = PER_mass_mobilization
		x = 1
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 15
				has_war = yes
			}
			modifier = {
				factor = 15
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_mass_mobilization
		}
		prerequisite = {
			focus = PER_continued_offensive
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_blood_of_the_martyrs"
			add_war_support = 0.2
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_army_strength_factor = 0.1
				tooltip = army_strength_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_army_org_regain = 0.1
				tooltip = army_org_regain_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = tech_assault_battalion_effect
			hidden_effect = {
				set_technology = { tech_assault_battalion = 1 popup = no }
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_overwhelming_force
		icon = GFX_goal_generic_army_mass_assault
		cost = 6

		relative_position_id = PER_blood_of_the_martyrs
		x = -1
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 20
				has_war = yes
			}
			modifier = {
				factor = 10
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_blood_of_the_martyrs
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_overwhelming_force"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_combat_width_factor = -0.05
				tooltip = combat_width_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_land_reinforce_rate = 0.05
				tooltip = land_reinforce_rate_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			enable_tech_human_wave_tactics = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PER_political_directive
		icon = GFX_focus_PER_communist_afghanistan_intervention
		cost = 6

		relative_position_id = PER_blood_of_the_martyrs
		x = 1
		y = 1


		available = {
			
		}
		bypass = {
			
		}
		ai_will_do = { 
			factor = 100
			modifier = {
				factor = 20
				has_war = yes
			}
			modifier = {
				factor = 10
				date > 1940.1.1
			}
		}
		prerequisite = {
			focus = PER_blood_of_the_martyrs
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_political_directive"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_army_name_dyn
			}
			add_to_variable = {
				PER_iran_army_dyn_command_abilities_cost_factor = -0.25
				tooltip = command_abilities_cost_factor_tooltip
			}
			add_to_variable = {
				PER_iran_army_dyn_org_loss_at_low_org_factor = -0.25
				tooltip = org_loss_at_low_org_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			reduce_propaganda_decision_cost_twenty_five_percent = yes
			custom_effect_tooltip = reduce_propaganda_decision_cost_twenty_five_percent_tt
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}


	focus = {
		id = PER_marine_academie
		icon = GFX_goal_Marineakademie
		cost = 8

		relative_position_id = PER_army_funding
		x = 8
		y = 0

		mutually_exclusive = {
			focus = PER_com_navy
			focus = PER_swe_navy
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		available = {
			OR = {
				has_completed_focus = PER_long_live
				has_completed_focus = PER_long_live_revolution
			}
			has_socialist_government = no
			GER = { is_faction_leader = yes }
			NOT = { has_war_with = GER }
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_marine_academie"
			add_doctrine_cost_reduction = {
				name = PER_marine_academie
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
			if = {
				limit = {
					country_exists = GER
				}
				add_opinion_modifier = {
					target = GER
					modifier = PER_naval_cooperation
				}
				GER = {
					add_opinion_modifier = {
						target = PER
						modifier = PER_naval_cooperation
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_com_navy
		icon = GFX_goal_Ecole_Naval_de_Guerre
		cost = 8

		relative_position_id = PER_marine_academie
		x = 2
		y = 0

		mutually_exclusive = {
			focus = PER_marine_academie
			focus = PER_swe_navy
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		available = {
			has_socialist_government = yes
			INT = { is_faction_leader = yes }
			NOT = { has_war_with = INT }
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_com_navy"
			add_doctrine_cost_reduction = {
				name = PER_com_navy
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
			if = {
				limit = {
					country_exists = FRA
				}
				add_opinion_modifier = {
					target = FRA
					modifier = PER_naval_cooperation
				}
				FRA = {
					add_opinion_modifier = {
						target = PER
						modifier = PER_naval_cooperation
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_swe_navy
		icon = GFX_goal_Kunglinga_Skorigskolan
		cost = 8

		relative_position_id = PER_marine_academie
		x = 4
		y = 0

		mutually_exclusive = {
			focus = PER_com_navy
			focus = PER_marine_academie
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		available = {
			OR = {
				has_completed_focus = PER_long_live
				has_completed_focus = PER_long_live_revolution
			}
			OR = {
				has_socialist_government = no
				SWE = { has_socialist_government = yes }
			}
			if = {
				limit = { country_exists = SCA }
				NOT = { has_war_with = SCA }
			}
			else = {
				country_exists = SWE
				NOT = { has_war_with = SWE }
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_swe_navy"
			add_doctrine_cost_reduction = {
				name = PER_swe_navy
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
			if = {
				limit = {
					country_exists = SWE
				}
				add_opinion_modifier = {
					target = SWE
					modifier = PER_naval_cooperation
				}
				SWE = {
					add_opinion_modifier = {
						target = PER
						modifier = PER_naval_cooperation
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_dockyards
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 8

		relative_position_id = PER_marine_academie
		x = 2
		y = 1

		prerequisite = {
			focus = PER_marine_academie
			focus = PER_swe_navy
			focus = PER_com_navy
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_dockyards"
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = { building = dockyard size > 2 include_locked = yes }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_foreign_naval_engineers
		icon = GFX_goal_generic_intelligence_exchange
		cost = 8

		relative_position_id = PER_marine_academie
		x = 0
		y = 1

		prerequisite = {
			focus = PER_marine_academie
			focus = PER_swe_navy
			focus = PER_com_navy
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_foreign_naval_engineers"
			navy_experience = 50
			add_ideas = PER_foreign_engineers_idea
		}
		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_NAVY_BONUS }
	}

	focus = {
		id = PER_avhaz_naval_academy
		icon = GFX_goal_PER_navy
		cost = 8

		relative_position_id = PER_marine_academie
		x = 4
		y = 1

		prerequisite = {
			focus = PER_marine_academie
			focus = PER_swe_navy
			focus = PER_com_navy
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_avhaz_naval_academy"
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = PER_avhaz_naval_academy
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_XP FOCUS_FILTER_NAVY_BONUS FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_torfang_darane
		icon = GFX_focus_POL_develop_polish_shipbuilding
		cost = 8

		relative_position_id = PER_marine_academie
		x = 3
		y = 2

		prerequisite = {
			focus = PER_avhaz_naval_academy
		}
		prerequisite = {
			focus = PER_dockyards
		}
		available = {
			any_state_of = {
				target = { 412 413 }
				is_owned_and_controlled_by = ROOT
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_torfang_darane"
			if = {
				limit = { 412 = { is_owned_and_controlled_by = ROOT } }
				412 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
					custom_override_tooltip = {
						add_building_construction = {
							type = coastal_bunker
							province = 7982
							level = 3
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = coastal_bunker
							NUMBER = 3
							VP = 7982
						}
					}
					custom_override_tooltip = {
						add_building_construction = {
							type = naval_base
							province = 7982
							level = 2
							instant_build = yes
						}
						tooltip = {
							localization_key = tooltip_add_building_on_victory_point
							BUILDING = naval_base
							NUMBER = 2
							VP = 7982
						}
					}
				}
			}
			if = {
				limit = { 413 = { is_owned_and_controlled_by = ROOT } }
				413 = {
					add_building_construction = {
						type = coastal_bunker
						province = 5005
						level = 3
					}
					add_building_construction = {
						type = naval_base
						province = 5005
						level = 2
						instant_build = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_fleet_expansion
		icon = GFX_goal_generic_coastal_navy
		cost = 8

		relative_position_id = PER_marine_academie
		x = 1
		y = 2

		prerequisite = {
			focus = PER_foreign_naval_engineers
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_fleet_expansion"
			add_tech_bonus = {
				name = PER_fleet_expansion
				bonus = 0.5
				uses = 2
				category = ca_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_trade_protection
		icon = GFX_goal_generic_coastal_navy2
		cost = 8

		relative_position_id = PER_marine_academie
		x = 0
		y = 3

		prerequisite = {
			focus = PER_fleet_expansion
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_trade_protection"
			add_tech_bonus = {
				name = PER_trade_protection
				bonus = 1
				uses = 1
				category = dd_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_trade_disruption
		icon = GFX_goal_generic_navy_submarine
		cost = 8

		relative_position_id = PER_marine_academie
		x = 2
		y = 3

		prerequisite = {
			focus = PER_fleet_expansion
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_trade_disruption"
			add_tech_bonus = {
				name = PER_trade_disruption
				bonus = 1
				uses = 1
				category = ss_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	#new air tree#
	focus = {
		id = PER_pessian_air
		icon = GFX_goal_PER_airforce
		cost = 8


		
		relative_position_id = PER_trade_protection
		x = 1
		y = 1

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		
		available = {
			OR = {
				has_completed_focus = PER_long_live
				has_completed_focus = PER_long_live_revolution
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_pessian_air"
			air_experience = 25
			add_doctrine_cost_reduction = {
				name = PER_pessian_air
				cost_reduction = 0.5
				uses = 1
				category = air_doctrine
			}
			if = {
				limit = { NOT = { has_tech = iw_small_airframe } }
				set_technology = { iw_small_airframe = 1 }
				
			}
			if = {
				limit = { has_completed_focus = PER_long_live_revolution }
				add_dynamic_modifier = { modifier = PER_iran_airforce_dyn }
				
			}
			else = {
				add_dynamic_modifier = { modifier = PER_persia_airforce_dyn }
			}
		}
		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIRFORCE_BONUS }
	}

	
	focus = {
		id = PER_airfields
		icon = GFX_goal_generic_airports
		cost = 6

		relative_position_id = PER_pessian_air
		x = 3
		y = 1

		prerequisite = {
			focus = PER_pessian_air
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_airfields"
			421 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			419 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			414 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_radar
		icon = GFX_goal_generic_radar_instillation
		cost = 8

		relative_position_id = PER_airfields
		x = 0
		y = 1
		
		available = {
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}

		prerequisite = {
			focus = PER_airfields
		}
		ai_will_do = {
			factor = 5
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_radar"
			PER_decrease_one_reserve_effect = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					has_dlc_gtd = yes
					NOT = { is_special_project_completed = sp:sp_air_radar }
				}
				complete_special_project = sp:sp_air_radar
			}
			else = {
				add_tech_bonus = {
					name = PER_radar
					bonus = 1
					uses = 1
					category = radar_tech
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_air_manufactory_local
		icon = GFX_focus_generic_aircraft_production
		cost = 8

		relative_position_id = PER_airfields
		x = 2
		y = 1

		prerequisite = {
			focus = PER_airfields
		}
		ai_will_do = {
			factor = 15
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_air_manufactory_local"
			add_ideas = PER_iran_aircraft_production
			if = {
				limit = { NOT = { has_tech = basic_small_airframe } }
				set_technology = { basic_small_airframe = 1 }
				
			}
		}
	}

	focus = {
		id = PER_new_planes
		icon = GFX_goal_generic_air_fighter_new
		cost = 8

		relative_position_id = PER_airfields
		x = 4
		y = 1

		prerequisite = {
			focus = PER_airfields
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_new_planes"
			add_tech_bonus = {
				name = PER_new_planes
				bonus = 1
				uses = 1
				category = light_fighter
			}
			add_tech_bonus = {
				name = PER_new_planes
				bonus = 1
				uses = 1
				category = cat_air_guns
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = PER_long_range_aircraft_design
		icon = GFX_focus_generic_air_research_boost
		cost = 8

		relative_position_id = PER_air_manufactory_local
		x = 0
		y = 1

		available = {
			custom_trigger_tooltip = {
    				tooltip = PER_at_least_3_budget		
				PER_at_least_3_budget = yes
			}
		}

		prerequisite = {
			focus = PER_air_manufactory_local
			focus = PER_new_planes
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_long_range_aircraft_design"
			PER_decrease_one_reserve_effect = yes
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					has_dlc_aat = yes
				}
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = PER_aeronautical_design_bureau_organisation
				mio:PER_aeronautical_design_bureau_organisation = { 
					add_mio_size = 2
					add_mio_funds_gain_factor = 0.1
					add_mio_research_bonus = 0.1
				}
			}
			else = {
				add_ideas = PER_aeronautical_design_bureau_no_aat_idea
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = {
					has_dlc_gtd = yes
					controls_province = 1896 #Tabriz
					419 = { #Tabriz
						is_owned_and_controlled_by = ROOT
						can_construct_building = air_facility
					}
				}
				419 = { #Tabriz
					add_building_construction = {
						type = air_facility
						level = 1
						province = 1896 #Tabriz
						instant_build = yes
					}
				}
			}
			else_if = {
				limit = { has_dlc_gtd = yes }
				random_owned_controlled_state = {
					prioritize = { 266 420 }
					limit = {
						is_core_of = ROOT
						can_construct_building = air_facility
					}
					construct_building_in_random_province = { air_facility = 1 }
				}
			}
			else = {
				add_tech_bonus = {
					name = PER_long_range_aircraft_design
					bonus = 2
					ahead_reduction = 1.5
					uses = 1
					category = air_equipment
				}
			}
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = PER_long_range_aircraft_design
				bonus = 1
				uses = 1
				category = plane_modules_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = PER_havapeima
		icon = GFX_goal_generic_air_tactical_bomber_new
		cost = 8

		relative_position_id = PER_new_planes
		x = 0
		y = 1

		prerequisite = {
			focus = PER_air_manufactory_local
			focus = PER_new_planes
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_havapeima"
			add_tech_bonus = {
				name = PER_havapeima
				bonus = 1
				uses = 1
				category = tactical_bomber
			}
			if = {
				limit = { NOT = { has_tech = aircraft_construction } }
				add_tech_bonus = {
					name = PER_havapeima
					bonus = 1
					uses = 1
					technology = aircraft_construction
				}
			}
			else_if = {
				limit = { NOT = { has_tech = survivability_studies } }
				add_tech_bonus = {
					name = PER_havapeima
					bonus = 1
					uses = 1
					technology = survivability_studies
				}
			}
			else = {
				add_tech_bonus = {
					name = PER_havapeima
					bonus = 1
					uses = 1
					technology = plane_modules_tech
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	

	focus = {
		id = PER_iran_airspace
		icon = GFX_focus_generic_air_defense
		cost = 8

		relative_position_id = PER_pessian_air
		x = 0
		y = 1

		prerequisite = {
			focus = PER_pessian_air
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_iran_airspace"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_airforce_name_dyn
			}
			add_to_variable = {
				PER_iran_airforce_dyn_air_home_defence_factor = 0.15
				tooltip = air_home_defence_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = PER_iran_airspace
				bonus = 1
				uses = 2
				category = cat_anti_air
			}
			air_experience = 50
		}
	}

	focus = {
		id = PER_ace_combat
		icon = GFX_focus_generic_infiltration
		cost = 8

		relative_position_id = PER_iran_airspace
		x = -1
		y = 1

		prerequisite = {
			focus = PER_iran_airspace
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_ace_combat"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_airforce_name_dyn
			}
			add_to_variable = {
				PER_iran_airforce_dyn_air_ace_generation_chance_factor = 0.2
				tooltip = air_ace_generation_chance_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery_bonus = {
    				bonus = 0.5
   				days = 365
    				name = PER_ace_combat
    				track = fighter_aircraft
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = PER_close_air_support
		icon = GFX_goal_generic_air_CAS_russian
		cost = 8

		relative_position_id = PER_iran_airspace
		x = 1
		y = 1

		prerequisite = {
			focus = PER_iran_airspace
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_close_air_support"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_airforce_name_dyn
			}
			add_to_variable = {
				PER_iran_airforce_dyn_air_bombing_targetting = 0.1
				tooltip = air_bombing_targetting_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_tech_bonus = {
				name = PER_close_air_support
				bonus = 1
				uses = 1
				category = cat_air_bombs
			}
			add_mastery_bonus = {
    				bonus = 0.5
   				days = 365
    				name = PER_close_air_support
    				track = strike_aircraft
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = PER_long_range_operation
		icon = GFX_goal_generic_air_tactical_bomber_german
		cost = 8

		relative_position_id = PER_ace_combat
		x = 0
		y = 1

		prerequisite = {
			focus = PER_ace_combat
		}
		prerequisite = {
			focus = PER_close_air_support
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_long_range_operation"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_airforce_name_dyn
			}
			add_to_variable = {
				PER_iran_airforce_dyn_air_range_factor = 0.1
				tooltip = air_range_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { NOT = { has_tech = range_improvements } }
				add_tech_bonus = {
					name = PER_long_range_operation
					bonus = 1.5
					uses = 1
					technology = range_improvements
				}
			}
			else = {
				add_tech_bonus = {
					name = PER_long_range_operation
					bonus = 0.5
					uses = 1
					category = plane_modules_tech
				}
			}
			add_mastery_bonus = {
    				bonus = 1
   				days = 365
    				name = PER_long_range_operation
    				track = heavy_aircraft
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = PER_phantom_doctrine
		icon = GFX_goal_generic_air_CAS_german
		cost = 8

		relative_position_id = PER_close_air_support
		x = 0
		y = 1

		prerequisite = {
			focus = PER_ace_combat
		}
		prerequisite = {
			focus = PER_close_air_support
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_phantom_doctrine"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_airforce_name_dyn
			}
			add_to_variable = {
				PER_iran_airforce_dyn_air_weather_penalty = -0.25
				tooltip = air_weather_penalty_tooltip
			}
			add_to_variable = {
				PER_iran_airforce_dyn_strategic_bomb_visibility = -0.25
				tooltip = strategic_bomb_visibility_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery_bonus = {
    				bonus = 1
   				days = 365
    				name = PER_phantom_doctrine
    				track = medium_aircraft
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	focus = {
		id = PER_perfected_techniques
		icon = GFX_focus_PER_perfect_iranian_airforce
		cost = 8

		relative_position_id = PER_long_range_operation
		x = 1
		y = 1

		prerequisite = {
			focus = PER_long_range_operation
		}
		prerequisite = {
			focus = PER_phantom_doctrine
		}
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				has_war = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_perfected_techniques"
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_iran_airforce_name_dyn
			}
			add_to_variable = {
				PER_iran_airforce_dyn_air_mission_efficiency = 0.1
				tooltip = air_mission_efficiency_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
			add_mastery = {
    				amount = 100
    				# FILTERS:
    				folder = air
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}

	#Post War#

	focus = {
		id = PER_crossing_shatt_al_arab
		icon = GFX_focus_PER_fight_for_iran
		cost = 2

		relative_position_id = PER_reform_legal_system
		x = 0
		y = 1

		available = {
			has_war_with = OTT
		}

		ai_will_do = { 
			factor = 1000
			modifier = {
				factor = 10
				has_war_with = OTT
			}
		}

	
		bypass = {
			NOT = { country_exists = OTT }
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_crossing_shatt_al_arab"
			add_timed_idea = {
    				idea = PER_crossing_shatt_al_arab
    				days = 90
			}
			custom_effect_tooltip = tooltip_white_line
			if = {
				limit = { NOT = { has_idea = war_economy } }
				increase_economic_mobilisation = yes
			}
			else = {
				add_political_power = 150
			}
		}
	}
	
	focus = {
		id = PER_declaration_of_persepolis
		icon = GFX_focus_PER_rebuild_persepolis
		cost = 5

		relative_position_id = PER_crossing_shatt_al_arab
		x = 0
		y = 1

		available = {
			is_subject = no
			NOT = {
				has_war_with = OTT
				291 = { is_owned_by = OTT } #Baghdad
				349 = { is_owned_by = OTT } #Kirkuk
			}
		}

		ai_will_do = { factor = 2500 }
		prerequisite = {
			focus = PER_crossing_shatt_al_arab
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_declaration_of_persepolis"
			hidden_effect = { 
				if = {
					limit = { is_faction_leader = yes }
					dismantle_faction = yes
				}
				leave_faction = yes 
			}
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction_from_template = { template = faction_template_treaty_of_persepolis }
			}
			custom_effect_tooltip = tooltip_white_line
			PER_create_sphere_effect = yes
			PER_add_to_sharing_group_effect = yes
			custom_effect_tooltip = tooltip_white_line
			country_event = DES.16
		}
	}

	focus = {
		id = PER_control_oil_of_the_gulf
		icon = GFX_focus_IRQ_protector_of_the_gulf
		cost = 5

		prerequisite = {
			focus = PER_declaration_of_persepolis
		}
		
		available = {
			is_subject = no
			is_faction_leader = yes
			has_resources_in_country = {
    				resource = oil
    				amount > 299
    				extracted = yes
			}
		}

		relative_position_id = PER_declaration_of_persepolis
		x = 4
		y = 1

		ai_will_do = { factor = 500 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_control_oil_of_the_gulf"
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_charter_of_revival
			}
			add_to_variable = {
				PER_charter_of_revival_dyn_fuel_gain_factor = 0.25
				tooltip = fuel_gain_factor_tooltip
			}
			add_to_variable = {
				PER_charter_of_revival_dyn_consumer_goods_factor = -0.1
				tooltip = consumer_goods_factor_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_form_opec
		icon = GFX_focus_PER_invite_oil_nations
		cost = 5

		prerequisite = {
			focus = PER_control_oil_of_the_gulf
		}

		available = {
			is_subject = no
			is_faction_leader = yes
			custom_trigger_tooltip = {
    				tooltip = DES_peace_in_the_middle_east_tt
				DES_peace_in_the_middle_east = yes
			}
			has_completed_focus = PER_show_down_with_cairo_pact
			num_of_owned_factories > 100
			is_actual_major = yes
		}

		relative_position_id = PER_control_oil_of_the_gulf
		x = 0
		y = 1

		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_form_opec"
			custom_effect_tooltip = PER_DES_form_opec_tt
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_peace_and_prosperity
		icon = GFX_focus_generic_population_growth
		cost = 5

		prerequisite = {
			focus = PER_declaration_of_persepolis
		}

		available = {
			is_subject = no
			is_faction_leader = yes
			custom_trigger_tooltip = {
    				tooltip = DES_peace_in_the_middle_east_tt
				DES_peace_in_the_middle_east = yes
			}
			has_completed_focus = PER_show_down_with_cairo_pact
		}

		relative_position_id = PER_declaration_of_persepolis
		x = 6
		y = 1

		ai_will_do = { factor = 500 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_peace_and_prosperity"
			custom_effect_tooltip = tooltip_white_line
			custom_effect_tooltip = {
				localization_key = tooltip_modify_dynmod
				DYNMOD = PER_charter_of_revival
			}
			add_to_variable = {
				PER_charter_of_revival_dyn_stability_factor = 0.1
				tooltip = stability_factor_tooltip
			}
			add_to_variable = {
				PER_charter_of_revival_dyn_production_speed_industrial_complex_factor = 0.1
				tooltip = production_speed_industrial_complex_factor_tooltip
			}
			add_to_variable = {
				PER_charter_of_revival_dyn_monthly_population = 0.6
				tooltip = monthly_population_tooltip
			}
			custom_effect_tooltip = tooltip_white_line
		}
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = PER_deal_with_afghanistan
		icon = GFX_focus_PER_usurp_afghanistan
		cost = 5

		relative_position_id = PER_declaration_of_persepolis
		x = -4
		y = 1

		available = {
			is_subject = no
			NOT = { has_completed_focus = PER_afghanistan }
		}

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				AFG = { dont_start_major_faction_wars = yes }
				has_global_flag = second_weltkrieg_has_ended
			}
			modifier = {
				factor = 0
				AFG = { is_in_faction_with = GER }
				GER = { surrender_progress < 0.1 }
			}
			modifier = {
				factor = 0
				AFG = { default_attack_AI_trigger = yes }
			}
			modifier = {
				add = 40
				has_idea = PER_state_of_industry_5
			}
			modifier = {
				add = 50
				OR = {
					has_completed_focus = PER_modern_cataphract
					has_completed_focus = PER_coordinated_attack
					has_completed_focus = PER_overwhelming_force
					has_completed_focus = PER_political_directive
				}
			}
		}

		select_effect = {
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = AFG
					AFG = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				AFG = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
		}

		bypass = {
			OR = {
				AND = {
					owns_state = 267 #Kabul
					owns_state = 415 #Herat
				}
				AFG = { is_in_faction_with = PER }
			}
		}
		will_lead_to_war_with = AFG
		prerequisite = {
			focus = PER_declaration_of_persepolis
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_deal_with_afghanistan"
			custom_effect_tooltip = pen_before_sword_tt
			if = {
				limit = { can_declare_war_on = AFG }
				declare_war_on = {
					type = annex_everything
					target = AFG
				}
			}
			else_if = {
				limit = { has_subject = AFG }
				annex_country = {
					target = AFG
					transfer_troops = no
				}
			}
		}
	}

	focus = {
		id = PER_pacify_kurdistan
		icon = GFX_focus_PER_clamp_kurdish_dissidence
		cost = 5

		relative_position_id = PER_declaration_of_persepolis
		x = -2
		y = 1

		available = {
			is_subject = no
		}

		select_effect = {
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = KDR
					KDR = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				KDR = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
		}

		ai_will_do = { 
			factor = 100 
			modifier = {
				factor = 5
				has_idea = PER_DES_kurdish_resistance
			}
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				KDR = { dont_start_major_faction_wars = yes }
				has_global_flag = second_weltkrieg_has_ended
			}
			modifier = {
				factor = 0
				KDR = { default_attack_AI_trigger = yes }
			}
		}
		prerequisite = {
			focus = PER_declaration_of_persepolis
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_pacify_kurdistan"
			custom_effect_tooltip = pen_before_sword_tt
			if = {
				limit = { 
					can_declare_war_on = KDR 
					NOT = { KDR = { is_in_faction_with = PER } }
				}
				declare_war_on = {
					target = KDR
					type = annex_everything
				}
			}
			else_if = {
				limit = {
					KDR = { is_subject_of = PER }
				}
				annex_country = { 
					target = KDR
					transfer_troops = yes
				}
			}
			352 = {
				if = {
					limit = { is_fully_controlled_by = PER }
					add_building_construction = {
						type = supply_node
						level = 1
						province = 6935
						instant_build = yes
					}
				}
			}

			819 = {
				if = {
					limit = { is_fully_controlled_by = PER }
					add_building_construction = {
						type = supply_node
						level = 1
						province = 6826
						instant_build = yes
					}
				}
			}
			custom_effect_tooltip = DES_can_intergrate_kurdistan_tt
		}
	}

	focus = {
		id = PER_deal_with_azerbaijan
		icon = GFX_focus_PER_clamp_azerbaijani_dissidence
		cost = 5

		relative_position_id = PER_declaration_of_persepolis
		x = 2
		y = 1

		available = {
			is_subject = no
			set_temp_variable = { target = 229.owner }
			can_declare_war_on = var:target
			minor_faction_member_cannot_start_inter_faction_war_before_wk_focus = yes
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				AZR = { dont_start_major_faction_wars = yes }
				has_global_flag = second_weltkrieg_has_ended
			}
			modifier = {
				factor = 0
				AZR = { is_in_faction_with = GER }
				GER = { surrender_progress < 0.3 }
			}
			modifier = {
				factor = 0
				country_exists = AZR
				AZR = { has_capitulated = yes }
			}
			modifier = {
				factor = 0
				AZR = { default_attack_AI_trigger = yes }
			}
			modifier = {
				add = 40
				has_idea = PER_state_of_industry_5
			}
			modifier = {
				add = 50
				OR = {
					has_completed_focus = PER_modern_cataphract
					has_completed_focus = PER_coordinated_attack
					has_completed_focus = PER_overwhelming_force
					has_completed_focus = PER_political_directive
				}
			}
		}
		will_lead_to_war_with = AZR
		prerequisite = {
			focus = PER_declaration_of_persepolis
		}

		select_effect = {
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = AZR
					AZR = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				AZR = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
		}

		bypass = {
			AZR = { is_in_faction_with = PER }
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_deal_with_azerbaijan"
			hidden_effect = {
				229 = { enable_state_integration_80_compliance = yes } #Azerbaijan
				998 = { enable_state_integration_80_compliance = yes } #More Azerbaijan
			}
			custom_effect_tooltip = pen_before_sword_tt
			add_state_claim = 229
			add_state_claim = 998
			if = {
				limit = { can_declare_war_on = AZR }
				declare_war_on = {
					type = annex_everything
					target = AZR
				}
			}
			else_if = {
				limit = { has_subject = AZR }
				annex_country = {
					target = AZR
					transfer_troops = no
				}
			}
		}
	}

	focus = {
		id = PER_deal_with_armenia
		icon = GFX_goal_OTT_Integrate_Armenia
		cost = 5

		relative_position_id = PER_declaration_of_persepolis
		x = 0
		y = 1

		available = {
			is_subject = no
		}
	
		select_effect = {
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = ARM
					ARM = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				ARM = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
		}

		bypass = {
			ARM = { is_in_faction_with = PER }
		}

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				ARM = { dont_start_major_faction_wars = yes }
				has_global_flag = second_weltkrieg_has_ended
			}
			modifier = {
				factor = 0
				ARM = { is_in_faction_with = INT }
				INT = { surrender_progress < 0.3 }
			}
			modifier = {
				factor = 0
				ARM = { is_in_faction_with = RUS }
				RUS = { surrender_progress < 0.3 }
			}
			modifier = {
				factor = 0
				ARM = { default_attack_AI_trigger = yes }
			}
			modifier = {
				add = 40
				has_idea = PER_state_of_industry_5
			}
			modifier = {
				add = 50
				OR = {
					has_completed_focus = PER_modern_cataphract
					has_completed_focus = PER_coordinated_attack
					has_completed_focus = PER_overwhelming_force
					has_completed_focus = PER_political_directive
				}
			}
		}
		prerequisite = {
			focus = PER_declaration_of_persepolis
		}
		will_lead_to_war_with = ARM

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_deal_with_armenia"
			hidden_effect = {
				230 = { enable_state_integration_80_compliance = yes } #Armenia
				1000 = { enable_state_integration_80_compliance = yes } #More Armenia
			}
			custom_effect_tooltip = pen_before_sword_tt
			add_state_claim = 230
			if = {
				limit = {
					ARM = { owns_state = 585 }
				}
				add_state_claim = 585
			}
			if = {
				limit = {
					ARM = { owns_state = 1000 }
				}
				add_state_claim = 1000
			}
			if = {
				limit = {
					ARM = { owns_state = 1001 }
				}
				add_state_claim = 1001
			}
			if = {
				limit = { can_declare_war_on = ARM }
				declare_war_on = {
					type = annex_everything
					target = ARM
				}
			}
		}
	}

	focus = {
		id = PER_plot_with_turkey
		icon = GFX_focus_generic_befriend_turkey
		cost = 4

		relative_position_id = PER_deal_with_armenia
		x = 0
		y = 1

		available = {
			is_subject = no
			TUR = { is_subject = no }
			NOT = { country_exists = OTT }
		}

		ai_will_do = { 
			factor = 10
			modifier = {
				add = 40
				has_idea = PER_state_of_industry_5
			}
			modifier = {
				add = 50
				OR = {
					has_completed_focus = PER_modern_cataphract
					has_completed_focus = PER_coordinated_attack
					has_completed_focus = PER_overwhelming_force
					has_completed_focus = PER_political_directive
				}
			}
		}
		prerequisite = {
			focus = PER_deal_with_azerbaijan
			focus = PER_deal_with_armenia
			focus = PER_pacify_kurdistan
		}

		select_effect = {
			
		}

		bypass = {
			OR = {
				TUR = { is_subject = yes }
				TUR = { is_in_faction = yes }
				NOT = { country_exists = TUR }
			}			
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_plot_with_turkey"
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = TUR
					TUR = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				TUR = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
		}
	}

	focus = {
		id = PER_deal_with_syria
		icon = GFX_goal_SYR_Lion_of_Syria
		cost = 5


		relative_position_id = PER_plot_with_turkey
		x = -3
		y = 1

		available = {
			is_subject = no
			SYR = { is_subject = no }
		}

		ai_will_do = { 
			factor = 10
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				NOT = { has_completed_focus = PER_deal_with_iraq }
			}
			modifier = {
				factor = 0
				SYR = { dont_start_major_faction_wars = yes }
				
			}
			modifier = {
				factor = 0
				SYR = { default_attack_AI_trigger = yes }
			}
			modifier = {
				add = 40
				has_idea = PER_state_of_industry_5
			}
			modifier = {
				add = 50
				OR = {
					has_completed_focus = PER_modern_cataphract
					has_completed_focus = PER_coordinated_attack
					has_completed_focus = PER_overwhelming_force
					has_completed_focus = PER_political_directive
				}
			}
		}
		prerequisite = {
			focus = PER_plot_with_turkey
		}

		select_effect = {
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = SYR
					SYR = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				SYR = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
		}

		bypass = {
			SYR = { is_in_faction_with = PER }
		}
		will_lead_to_war_with = SYR
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_deal_with_syria"
			custom_effect_tooltip = pen_before_sword_tt
			if = {
				limit = { can_declare_war_on = SYR }
				declare_war_on = {
					target = SYR
					type = annex_everything
				}
			}
		}
	}

	focus = {
		id = PER_deal_with_iraq
		icon = GFX_goal_IRQ_Home_of_Civilisation
		cost = 5

		relative_position_id = PER_plot_with_turkey
		x = -1
		y = 1

		available = {
			is_subject = no
			NOT = { has_completed_focus = PER_iraq_i_arab }
		}

		ai_will_do = { 
			factor = 10
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				IRQ = { dont_start_major_faction_wars = yes }
				has_global_flag = second_weltkrieg_has_ended
			}
			modifier = {
				factor = 0
				ASY = { dont_start_major_faction_wars = yes }
				has_global_flag = second_weltkrieg_has_ended
			}
			modifier = {
				factor = 0
				IRQ = { default_attack_AI_trigger = yes }
			}
			modifier = {
				factor = 0
				ASY = { default_attack_AI_trigger = yes }
			}
			modifier = {
				add = 40
				has_idea = PER_state_of_industry_5
			}
			modifier = {
				add = 50
				OR = {
					has_completed_focus = PER_modern_cataphract
					has_completed_focus = PER_coordinated_attack
					has_completed_focus = PER_overwhelming_force
					has_completed_focus = PER_political_directive
				}
			}
		}
		prerequisite = {
			focus = PER_plot_with_turkey
		}

		select_effect = {
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = IRQ
					IRQ = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				IRQ = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = ASY
					ASY = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				ASY = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
		}
		will_lead_to_war_with = IRQ
		bypass = {
			IRQ = { is_in_faction_with = PER }
			if = {
				limit = { country_exists = ASY }
				ASY = { is_in_faction_with = PER }
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_deal_with_armenia"
			custom_effect_tooltip = pen_before_sword_tt
			if = {
				limit = { 
					can_declare_war_on = IRQ
					NOT = { IRQ = { is_in_faction_with = PER } }
				}
				declare_war_on = {
					target = IRQ
					type = annex_everything
				}
			}
			else_if = {
				limit = { has_subject = IRQ }
				annex_country = {
					target = IRQ
					transfer_troops = no
				}
			}
			if = {
				limit = { 
					can_declare_war_on = ASY 
					NOT = { ASY = { is_in_faction_with = PER } }
				}
				declare_war_on = {
					target = ASY
					type = annex_everything
				}
			}
			custom_effect_tooltip = DES_can_intergrate_iraq_tt
		}
	}

	focus = {
		id = PER_deal_with_najd
		icon = GFX_goal_Desert_Officers_2
		cost = 5

		dynamic = yes

		relative_position_id = PER_plot_with_turkey
		x = 1
		y = 1

		available = {
			is_subject = no
			OR = {
				SAU = { 
					is_subject = no 
					exists = yes
				}
				JBS = { 
					is_subject = no 
					exists = yes
				}
			}
			
		}

		ai_will_do = { 
			factor = 10
		}
		prerequisite = {
			focus = PER_plot_with_turkey
		}

		select_effect = {
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = SAU
					SAU = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				SAU = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
			else_if = {
				limit = {
					is_faction_leader = yes
					country_exists = JBS
					JBS = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				JBS = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}

		}

		bypass = {
			OR = {
				SAU = { is_in_faction_with = PER }
				JBS = { is_in_faction_with = PER }
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_deal_with_najd"
			custom_effect_tooltip = pen_before_sword_tt
			if = {
				limit = { can_declare_war_on = SAU }
				declare_war_on = {
					target = SAU
					type = annex_everything
				}
			}
			else_if = {
				limit = { can_declare_war_on = JBS }
				declare_war_on = {
					target = JBS
					type = annex_everything
				}
			}
		}
	}

	focus = {
		id = PER_deal_with_yemen
		icon = GFX_goal_OTT_Integrate_Yemen
		cost = 4


		relative_position_id = PER_plot_with_turkey
		x = 3
		y = 1

		available = {
			is_faction_leader = yes
			is_subject = no
			OR = {
				YEM = { is_subject = no }
				OMA = { is_subject = no }
			}
		}

		ai_will_do = { 
			factor = 10
		}
		prerequisite = {
			focus = PER_plot_with_turkey
		}

		select_effect = {

		}

		bypass = {
			YEM = { 
				OR = {
					is_subject = yes
					is_in_faction = yes
				}
			}
			OMA = { 
				OR = {
					is_subject = yes
					is_in_faction = yes
				}
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_deal_with_yemen"
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = YEM
					YEM = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				YEM = { 
					country_event = {
    						id = DES.20
    						days = 3
					} 
				}
			}
			if = {
				limit = {
					is_faction_leader = yes
					country_exists = OMA
					OMA = { 
						is_subject = no
						is_in_faction = no
						has_war = no
					}
				}
				OMA = { 
					country_event = {
    						id = DES.20
    						days = 5
					} 
				}
			}
		}
	}

	focus = {
		id = PER_show_down_with_cairo_pact
		icon = GFX_focus_PER_march_to_nile
		cost = 5

		relative_position_id = PER_deal_with_iraq
		x = 1
		y = 1

		available = {
			is_subject = no
			EGY = { is_subject = no }
			
		}
		continue_if_invalid = yes
		ai_will_do = { 
			factor = 10
			modifier = {
				factor = 0
				country_is_in_dangerous_war = yes
			}
			modifier = {
				factor = 0
				NOT = { 
					AND = {
						has_completed_focus = PER_deal_with_syria
						has_completed_focus = PER_deal_with_iraq
						has_completed_focus = PER_deal_with_najd
						has_completed_focus = PER_deal_with_yemen
					}
				}
			}
			modifier = {
				factor = 0
				EGY = { default_attack_AI_trigger = yes }
			}
			modifier = {
				add = 40
				has_idea = PER_state_of_industry_5
			}
			modifier = {
				add = 50
				OR = {
					has_completed_focus = PER_modern_cataphract
					has_completed_focus = PER_coordinated_attack
					has_completed_focus = PER_overwhelming_force
					has_completed_focus = PER_political_directive
				}
			}
		}
		prerequisite = {
			focus = PER_deal_with_syria
			focus = PER_deal_with_iraq
			focus = PER_deal_with_najd
			focus = PER_deal_with_yemen
		}
		cancelable = no

		select_effect = {

		}

		bypass = {
			OR = {
				EGY = { is_faction_leader = no }
				NOT = { country_exists = EGY }
				has_war_with = EGY
			}
		}
		will_lead_to_war_with = EGY
		will_lead_to_war_with = SYR
		will_lead_to_war_with = HEJ
		will_lead_to_war_with = LBA
		will_lead_to_war_with = OMA
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_show_down_with_cairo_pact"
			if = {
				limit = { 
					can_declare_war_on = EGY
					EGY = { is_faction_leader = yes }
				}
				declare_war_on = {
					target = EGY
					type = annex_everything
				}
			}
			if = {
				limit = { 
					can_declare_war_on = SYR 
					SYR = { is_in_faction_with = EGY }
				}
				declare_war_on = {
					target = SYR
					type = annex_everything
				}
			}
			if = {
				limit = { 
					can_declare_war_on = HEJ 
					HEJ = { is_in_faction_with = EGY }
				}
				declare_war_on = {
					target = HEJ
					type = annex_everything
				}
			}
			if = {
				limit = { 
					can_declare_war_on = LBA 
					LBA = { is_in_faction_with = EGY }
				}
				declare_war_on = {
					target = LBA
					type = annex_everything
				}
			}
			if = {
				limit = { 
					can_declare_war_on = OMA 
					OMA = { is_in_faction_with = EGY }
				}
				declare_war_on = {
					target = OMA
					type = annex_everything
				}
			}
		}
	}


	focus = {
		id = PER_a_new_dawn
		icon = GFX_focus_RAJ_the_sun_sets
		cost = 5

		prerequisite = {
			focus = PER_show_down_with_cairo_pact
		}
		prerequisite = {
			focus = PER_form_opec
		}
		prerequisite = {
			focus = PER_peace_and_prosperity
		}

		available = {
			is_subject = no
			is_faction_leader = yes
			custom_trigger_tooltip = {
    				tooltip = DES_peace_in_the_middle_east_tt
				DES_peace_in_the_middle_east = yes
			}
			num_of_owned_factories > 100
			is_actual_major = yes
		}

		relative_position_id = PER_show_down_with_cairo_pact
		x = 5
		y = 1

		ai_will_do = { factor = 100 }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PER_form_opec"
			country_event = DES.28
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

}
